summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-08-25 02:53:53 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-08-25 02:53:53 +0200
commit897c4665b146fcd1175b804be86ab54fddf2b23d (patch)
treebfb0176c9bb79b96107c766d08b84c5be3bd31a8
parentd11ecf06af2ad4d011a3d7e83323e435e575e268 (diff)
downloadUnspecifiedGarbage-897c4665b146fcd1175b804be86ab54fddf2b23d.zip
UnspecifiedGarbage-897c4665b146fcd1175b804be86ab54fddf2b23d.tar.gz
(bkup) Add some excludes.
-rwxr-xr-xsrc/main/shell/BackupByRsync/backup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/shell/BackupByRsync/backup.sh b/src/main/shell/BackupByRsync/backup.sh
index c6d5e2c..40189c2 100755
--- a/src/main/shell/BackupByRsync/backup.sh
+++ b/src/main/shell/BackupByRsync/backup.sh
@@ -66,6 +66,7 @@ run () {
--exclude=".git/refs/remotes" \
--exclude=".git/refs/tags" \
--exclude=".idea" \
+ --exclude="/.git-credentials" \
--exclude="/.NERDTreeBookmarks" \
--exclude="/.Xauthority" \
--exclude="/.bash_history" \
@@ -102,6 +103,7 @@ run () {
--exclude="/tmp" \
--exclude="/virtualbox-*" \
--exclude="/vmshare" \
+ --exclude="/vm-qemu" \
"${DIR_FROM:?}" \
"${BACKUP_PATH:?}/${DST_PREFIX}" \
;