9/19/2017 - 7:55 AM


Trasferire il contenuto della cartella "foo" nella cartella "foo" del server remoto

rsync -avzpgo foo/ root@


r – Recursive

l – Transfer any symlinks encountered

t – Preserve time stamps

p – Preserve permissions

g – Preserve groups

o – Preserve ownership

D – Preserve block and character devices

v – verbose

r – copies data recursively (but don’t preserve timestamps and permission while transferring data

a – archive mode, archive mode allows copying files recursively and it also preserves symbolic links, file permissions, user & group ownerships and timestamps

z – compress file data

h – human-readable, output numbers in a human-readable format