Does rsync flock not delete flocktmp.lock file?

I recently changed the rsync flock command, and now it has stopped deleting the flocktmp.lock file when synchronization is complete. Can anyone see a mistake on my team? That would really help me!

flock -xn / tmp / flocktmp.lock -c "/ usr / bin / rsync -avz --perms --chmod = a + rwx --delete ' user@some.site.com : ~ / www / user.some. site.com/public_html/links/rtorrent_data/iRL\REMUX/'/media/HDD01/share/SB/iRL\REMUX "

I tried to delete the flock file and run the command again, but it never deletes the file after synchronization.

I also tried several different combinations, but I can not figure it out.

+4
source share

All Articles