Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
Any way to sync directory structure when the files are already on both sides?

I'm looking for a backup utility that recognizes files or folders in the source that have just been renamed or moved. Using rsync I get a lot of duplicates, when ideally it would reflect those operations on the target (like Microsoft's SyncToy does).

Example:

Source:        Target:
~/done/a       ~/done/a
~/done/b       ~/todo/b
~/todo-123/c   ~/todo/c
~/todo-123/d   ~/todo/d
share|improve this question

migrated from superuser.com Dec 5 '11 at 15:16

This question came from our site for computer enthusiasts and power users.

marked as duplicate by Gilles, Michael Mrozek Dec 5 '11 at 21:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

I'm not sure if I understand your question correctly, but pretty much any dedicated backup script on *nix should do this. Try rdiff-backup instead of manually rsync'ing, it should be able to deduce that files have been moved from the file dates.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.