Does rsync copy if only perm changed?

Moshe Jacobson moshe at runslinux.net
Thu Jun 9 23:14:03 GMT 2005


On Thu, 9 Jun 2005, CompuGenic wrote:

> I have a 150GB directory tree that I need to rsync nightly. Periodically I 
> adjust many permissions on this source tree.
> My question is whether rsync will backup the whole source tree if only the 
> permissions changed.

If you don't specify --whole-file/-W, rsync will do checksums on
either end to determine if the file is still unchanged, and then it
will adjust the permissions on the other side.

So no, it will not re-transfer the entire file.

Moshe

-- 
Moshe Jacobson -- http://runslinux.net -- AIM: Jehsom
| This message is strictly confidential; it should be shown to nobody |
| except the listed addressee(s). If you've received this message in  |
| error, please promptly delete it and notify the sender.             |


More information about the rsync mailing list