diff --git a/backupninja b/backupninja
index 59361b30ae7d004f0768bc48047f2c59967408f0..e5c55aea505aef9912feafa5cb91ddc95fe42465 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