Author: techfox9

scp multiple distinct files ..

Friday, June 26th, 2009 @ 2:43 pm

scp  \
 user@machine:"/somepath/file1.txt \
/somepath/file2.doc \
/someotherpath/file3.c \
/somepath/file4.php \
/anypath/file5.bsh" \
.

Make sure there is (are) no space(s) after the back-slashes
and note the “.” (dot) at the end.. or replace the dot with
any target folder to copy the files to.

Linux


 


Comments are closed.