RSync

rsync -aAxXhHzP --compress-level 9 --numeric-ids --delete --inplace --info=progress2 --stats "forras" "cel"

Hasznos kapcsolók

Kapcsoló Leírás (man-ból) Komment
-A, --acls preserve ACLs (implies -p)
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X)
-X, --xattrs preserve extended attributes
-x, --one-file-system don't cross filesystem boundaries
--numeric-ids don't map uid/gid values by user/group name
--partial keep partially transferred files
-h, --human-readable output numbers in a human-readable format
-H, --hard-links preserve hard links
-v, --verbose increase verbosity
--progress show progress during transfer ugyanaz, mint az --info progress
viszont --info progress2-vel csak, állandóan frissített progresst for kiírni
-P same as --partial --progress
--inplace update destination files in-place (SEE MAN PAGE)
--exclude=PATTERN exclude files matching PATTERN
--delete delete extraneous files from destination dirs
--delete-before receiver deletes before transfer, not during
--delete-during receiver deletes during the transfer
--delete-delay find deletions during, delete after
--delete-after receiver deletes after transfer, not during
--compare-dest=DIR also compare received files relative to DIR
--copy-dest=DIR … and include copies of unchanged files
--link-dest=DIR … and include copies of unchanged files
-z, --compress compress file data during the transfer
--info=stats1
--stats give some file-transfer stats
--chown=USER:GROUP This option forces all files to be owned by USER with group GROUP.