[sf-lug] how to copy all but dot files
Alex Kleider
akleider at sonic.net
Sat Nov 17 19:06:10 PST 2018
Just installed Ubuntu 18.04 on an old ThinkPad X301 and am tying to copy
files from my Ubuntu 16.04 machine.
I'd like to exclude the dot files but how to get an expression that will
do this?
...so I began composing an email asking the list how this could be done.
In the process of trying to ask the question in an appropriate format, I
actually came up with a solution on my own. I've decided to post it any
way thinking it might help some one else or (perhaps more likely) it
might prompt others more expert to offer a better way.
rsync -av --exclude [.].+ user@<IP>:~/ <destination-directory>
--
Alex Kleider
(sent from my current gizmo)
More information about the sf-lug
mailing list