SCP command Clarification
Posted
by
david.colais
on Super User
See other posts from Super User
or by david.colais
Published on 2013-10-22T04:14:50Z
Indexed on
2013/10/22
10:01 UTC
Read the original article
Hit count: 289
I'm using the scp commands to pull some files from the remote server and one variation of the command is not working.
I have 2 files names one.xml and two.xml in a remote server and I'm pulling these two files into the current dir using the following command:
scp [email protected]:/student/class/Intermediate/one.xml .
scp [email protected]:/student/class/Intermediate/two.xml .
The above command works fine but if I use wildcards to pull all the xml files in a single shot as shown below it returns scp: No match.
scp [email protected]:/student/class/Intermediate/*.xml .
Why is it working if I pull the files individually and not working if I try to pull using wildcards.
© Super User or respective owner