I'm using rsync to sync a directory from server to localhost:
rsync -avz --delete ./Stuff user@host:/Stuff
This all works fine, but how come when I type 'du -s' in both the server and the localhost I get different numbers?
Possible reasons for the differing output from
Unless you issue a --delete there is a chance that you have extraneous files in there. rsync won't delete by default, so the directories won't be in sync