Now ignores vim's .swp files in /etc/backup.d/
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 20 Aug 2005 15:43:58 +0000 (15:43 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sat, 20 Aug 2005 15:43:58 +0000 (15:43 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@171 758a04ac-41e6-0310-8a23-8373a73cc35d

backupninja

index 59361b30ae7d004f0768bc48047f2c59967408f0..e5c55aea505aef9912feafa5cb91ddc95fe42465 100755 (executable)
@@ -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