Home > computers > linux > rsync > RsyncOptions | About

Common options
  • -a : archive, -trplgoD (triple goD)
  • -t : time preservation
  • -r : recursive
  • -p : permissions preservation
  • -l : links, copy symlinks as symlinks
  • -g : group preservation
  • -o : owner preservation
  • -D : Devices, socket files, fifos… transfert. This shouldn't be needed, but it's there for a reason I guess.

  • -v : verbose
  • –exclude : don't send or recieve some files/directories.
  • –dry-run : don't really send or receive files, just pretend (print)
Less common options
  • -X : Xtended attributes preservation
  • –protect-args : this should always be used because it protects the transfer from suspicious filenames imagine a filename that contains "&" or a space). This is like the bobby tables for bash.
  • –no-numeric-ids : file owners and groups are copied by name, not by id.

contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code Common options (generated for current page)