3

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
htorque
  • 691

1 Answers1

1

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.

jstarek
  • 1,710