Rich Shepard
2018-11-10 00:03:51 UTC
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
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