axkibe/lsyncd — Issue #13: Moving/renaming large files
Author: axkibe
Created: 2011-11-16 14:56:18+00:00
State: open

Originally filed by cesar.go...@gmail.com on 2009-12-16T23:22:11

This is not really an issue, but a request. When I rename/move a large file,
rsync will copy it again and then delete the "old" version. If an event
MOVED_FROM to MOVED_TO occurs, wouldn't be better if you simply apply the
same sequence on the other side?

Wed Dec 16 20:54:15 2009: event MOVED_FROM:00234.m2ts triggered.
Wed Dec 16 20:54:15 2009: rsyncing /mnt/sync1/ --> /mnt/sync2/
Wed Dec 16 20:54:28 2009: event MOVED_TO:same_file.m2ts triggered.
Wed Dec 16 20:54:28 2009: rsyncing /mnt/sync1/ --> /mnt/sync2/

Instead, just move 00234.m2ts to same_file.m2ts without transfering it over
again.