On Fri, 9 Nov 2018, Paul Mullen wrote:
No need to set dotglob or use a splat in the source path. rsync will
find your dotfiles. The following should work just fine:
rsync -av salmo:/home/ .
Thanks, Paul. I assumed this was sufficient as I've used those two options
before. I was not sure whether more options would be beneficial.
The trailing slash in the source path tells rsync to copy the contents
of the directory into the destination path. Otherwise it would create
a new directory (home/) under the destination path.
Yeah, learned that years ago. :-)
The "dry run" option (-n) is your best friend when trying to figure out a
correct rsync command line. It'll show you everything that would have
happened, without actually making any changes.
Good point.
Regards,
Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug