Hi ,
with rsync
Code:
rsync -aS <target directory> <destination directory>
Parameters -a -S
from man rsync
Code:
-a = archive mode ; equals to -r # means recursively
-S = handle sparse files efficiently
above command will effectively copy ALL your files from "target directory" (including hidden files-configuration files) to the "destination directory" .
Command is reversible for restore , although some users including other parameters for restore such
Code:
--ignore-existing = skip updating files that exist on receiver
Take a look in manual page and make some tests (in a testing folder) .
Thanks
Bookmarks