From 3e49c348b95c1d3b1c5a51cd3e28ab654070ec88 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 20 Aug 2005 15:43:58 +0000 Subject: [PATCH] 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 --- backupninja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2