Hi guys and gals,

i wonder if there is any chance to implement wildcards (*) into
the functionality of fish when using scp?

this works in bash:
$ scp usern...@host.com:~/Whatever/*.pdf .

This command will transfer all files in ~/Whatever/ ending with .pdf to the
working directory.
If i run the same command in fish i get the following:
 ~> scp un...@host.com:~/Whatever/*.pdf .
fish: Warning: No match for wildcard “un...@host.com:~/Whatever/*.pdf”. The
command will not be executed.
scp un...@host.com:~/Whatever/*.pdf .
    ^

I asked around in #fish and SanskritFritz and adisbladis explained to me
it's because bash is checking my files on the remote site or something. (i
didn't quit understand)

My question is:
Would this be possible to implement in fish?

Br
Sebastian Thörn
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to