Reputation: 4083
I would like to copy all files from a remote destination in a particular directory writegrid
, but not the subdirectories, e.g. the files in writegrid/output_files
.
This
scp -r [email protected]:~/writegrid/* ./
will copy the files in the writegrid/output_files
over as well.
Thank you.
Upvotes: 16
Views: 28936