Syncing moved files

Martin Gadbois martin.gadbois at colubris.com
Fri Sep 22 14:05:32 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I use rsync to keep an off-site backup of my photographs.

I dump from my camera everything into a tmp/ directory, which I then
clean and move gradually all pictures into the right directory
(Vacations/, for example).

But rsync does not know that I moved an identical picture from tmp/ to
Vacations/, it transfers the whole file, and deletes the one that was in
tmp/, even though a local move might have done it.

Is there a way that rsync could, for all known files, sync paths instead
of file content whenever local and remote files are identical (using
sha1 or md5)?

- --
==============         +----------------------------------------------+
Martin Gadbois         | "Windows might take you from 0 to 60 faster, |
S/W Developer          |  but to go to 100 you need Unix."            |
Colubris Networks Inc. +----------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFE+2s9Y3/iTTCEDkRAtRCAKCkPYi9xgj+6+s6ZIX5NNaG4Xev7wCfWIsn
LQ4m0YR522cvyfEUScuL71o=
=KWkW
-----END PGP SIGNATURE-----


More information about the rsync mailing list