scp

Wildcard characters for scp in a zsh

When trying to copy all files from a certain location, you can use the *-wildcard. However, be aware to set everything in “, as scp will try to expand the filenames locally otherwise. So do:

scp "myserver:~/mydirectory/*.root" .

to copy all root-files in mydirectory on myserver to the current directory.