[Gllug] excluding files from scp copy

Martin A. Brooks martin at hinterlands.org
Mon Jul 17 19:42:13 UTC 2006

Adrian McMenamin wrote:
> I'd like to do scp -r user at remote1:/home/user user at remote2:/home/user or
> similar but not copy the hidden files - is there a way to do this? My
> google-fu isn't up to the correct search strin

Using scp directly, no, there isn't.   You can have rsync use ssh as the 
trnasport and have rsync exclude the stuff you don't want.

Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list