07
08 | 2011
Useful options of rsync
Classified in : Homepage, Debian, Command line, To remember
rsync is often used to back up systems, with options such as:
-a --archive
- recurse and preserve usual attributes: symlinks, devices and special files, user and groups ownership, permissions and times;
-H --hard-links
- detect and preserve hard links;
-A --acls
- preserve ACLs, if you use them;
-X --xattrs
- preserve extended attributes, if you use them.
In addition to these common options, rsync has plenty others, so everyone has his own recipe, but I would like to share two useful options I discovered.