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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3e49c348b95c1d3b1c5a51cd3e28ab654070ec88;p=matthijs%2Fupstream%2Fbackupninja.git Now ignores vim's .swp files in /etc/backup.d/ git-svn-id: http://code.autistici.org/svn/backupninja/trunk@171 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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