Scp all files starting with 'file' from a server [closed]?

Up vote 0 down vote favorite share g+ share fb share tw.

I use this command to copy all files whose names start with 'file' from a server. Scp -vp me@server:/location/files* . / But I got a 'No Match' error.

Probably Concerning the '' in the command. How can I protect the '' for ssh to understand that this refers to a list of files and not taking it as a filename. Thx August ssh scp link|improve this question asked Mar 27 '10 at 10:26Lahniep926 44% accept rate.

The shell itself is expanding the *. You can escape this by quoting it or using backslashes to prevent the shell interpreting it and instead passing it directly to scp: scp -vp me@server:/location/files.

If you want files started with file then it should be scp me@server:/location/file* . Not files.

Btw, scp does support wild card, so * works, more info read hypexr.org/linux_scp_help.php – user227353 Apr 29 '10 at 18:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions