4,461
edits
→Unpacking gz files: add Zip a folder |
|||
Line 94: | Line 94: | ||
= Mirror a folder = | = Mirror a folder = | ||
* ''Last tested on CentOS 8'' | |||
Copy ALL and keep EVERYTHING same without deleting the source, but deleting files on the target folder that are not found in the source. | |||
<source lang="console"> | |||
$ rsync --delete -HAXavr /source/folder/foldername/ /target/folder/foldername/ | |||
</source> | |||
* ''Last tested on Ubuntu 16.04 LTS (xenial)'' | * ''Last tested on Ubuntu 16.04 LTS (xenial)'' | ||