Now ignores vim's .swp files in /etc/backup.d/
authorintrigeri <intrigeri@boum.org>
Sat, 20 Aug 2005 15:43:58 +0000 (15:43 +0000)
committerintrigeri <intrigeri@boum.org>
Sat, 20 Aug 2005 15:43:58 +0000 (15:43 +0000)
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