aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-08-20 15:43:58 +0000
committerintrigeri <intrigeri@boum.org>2005-08-20 15:43:58 +0000
commitaa6248865640800ec5ad7920c96de3bc834f49d1 (patch)
tree87fc7f9309edc7bd7437a2572705228b532272ac
parent6b6154879b591c79750b329f3ecce9a074de5cb3 (diff)
downloadbackupninja-aa6248865640800ec5ad7920c96de3bc834f49d1.tar.gz
backupninja-aa6248865640800ec5ad7920c96de3bc834f49d1.tar.bz2
Now ignores vim's .swp files in /etc/backup.d/
-rwxr-xr-xbackupninja2
1 files changed, 1 insertions, 1 deletions
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