WRITELOOP

COPY FILE SYSTEM EXACTLY AS IT IS

2018 August 6

rsync command to exactly copy to directories

Useful to e.g. backup a home directory from the root filesystem. The command below will copy a directory from a filesystem preserving file permissions, extended attributes (x-attrs), link structure and more: $ rsync -vaHAX To check that everything went as it should, you can run diff -r afterwards if you want.