[PLUG] Copying directories from one host to another

Rich Shepard rshepard at appl-ecosys.com
Sat Nov 10 00:03:51 UTC 2018


   I want to copy /home and /opt from one host to another, including all
dotfiles (common in /home).

   Operating within the destination directory would this the the optimal pair
of commands to use?

shopt -s dotglob
rsync -av salmo:/home/* ./

and changing the salmo directory to /opt after.

Regards,

Rich





More information about the PLUG mailing list