Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. rsync --checksum --human-readable --archive --verbose --compress --partial --progress --rsh=ssh <host>:<remote-path> <local-path>
  2.  
  3. Options:
  4. --checksum: skip based on checksum, not mod-time & size
  5. --human-readable: output numbers in a human-readable format
  6. --archive: archive mode; same as -rlptgoD (no -H)
  7. -r, --recursive: recurse into directories
  8. -l, --links: copy symlinks as symlinks
  9. -p, --perms: preserve permissions
  10. -t, --times: preserve modification times
  11. -g, --group: preserve group
  12. -o, --owner: preserve owner (super-user only)
  13. -D: same as --devices --specials
  14. --devices: preserve device files (super-user only)
  15. --specials: preserve special files
  16. --verbose: increase verbosity
  17. --compress: compress file data during the transfer
  18. --partial: keep partially transferred files
  19. --progress: show progress during transfer
  20. --rsh=COMMAND: specify the remote shell to use
  21.  
  22. * Note: if <path> ends with /, the specified directory is not included in the copy, just its contents (recursively). I.e., to copy a remote "folder" to a local "folder", without copying the folder itself, include a trailing "/" in the remote path.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement