Commit c98797a3 authored by Paul Cammish's avatar Paul Cammish
Browse files

Reduce lock file removal down to localhost subdir

parent 9d15c61d
......@@ -72,7 +72,7 @@ end
#
puts "Sending backups to #{dest}...\n"
puts `rsync --bwlimit=768 --delete-before --delete-excluded --exclude 'localhost/TMP.*' --exclude '*.lock' --quiet --archive --recursive --perms --no-owner --no-group --human-readable #{src} #{dest}`
puts `rsync --bwlimit=768 --delete-before --delete-excluded --exclude 'localhost/TMP.*' --exclude 'localhost/*.lock' --quiet --archive --recursive --perms --no-owner --no-group --human-readable #{src} #{dest}`
#
# Exit with the exit status of the rsync command
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment