From: intrigeri Date: Sat, 20 Aug 2005 15:43:58 +0000 (+0000) Subject: Now ignores vim's .swp files in /etc/backup.d/ X-Git-Tag: backupninja-0.8~5 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=aa6248865640800ec5ad7920c96de3bc834f49d1;p=matthijs%2Fupstream%2Fbackupninja.git Now ignores vim's .swp files in /etc/backup.d/ --- diff --git a/backupninja b/backupninja index 59361b3..e5c55ae 100755 --- a/backupninja +++ b/backupninja @@ -479,7 +479,7 @@ errormsg="" if [ "$singlerun" ]; then files=$singlerun else - files=`find $configdirectory -mindepth 1 | sort -n` + files=`find $configdirectory ! -name '.*.swp' -mindepth 1 | sort -n` fi for file in $files; do