From: Micah Anderson Date: Thu, 23 Feb 2006 20:25:53 +0000 (+0000) Subject: Added some more default excludes as reported by Adam Porter in bug #353412 X-Git-Tag: backupninja-0.9.4~78 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=d568f305fd59d1894b5bafdcdcdb58d8ed077ec4;p=matthijs%2Fupstream%2Fbackupninja.git Added some more default excludes as reported by Adam Porter in bug #353412 --- diff --git a/handlers/dup.helper b/handlers/dup.helper index 490914e..795a2be 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -508,7 +508,7 @@ dup_wizard() { # Global variables whose '*' shall not be expanded set -o noglob dup_default_includes="/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*" - dup_default_excludes="/home/*/.gnupg" + dup_default_excludes="/home/*/.gnupg /home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads" set +o noglob dup_main_menu diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index 703444c..d28375e 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -375,7 +375,7 @@ rdiff_wizard() { # Global variables whose '*' shall not be expanded set -o noglob rdiff_includes=(/var/spool/cron/crontabs /var/backups /etc /root /home /usr/local/*bin /var/lib/dpkg/status*) - rdiff_excludes=(/home/*/.gnupg) + rdiff_excludes=(/home/*/.gnupg /home/*/.local/share/Trash /home/*/.Trash /home/*/.thumbnails /home/*/.beagle /home/*/.aMule /home/*/gtk-gnutella-downloads) rdiff_vsincludes= set +o noglob