Globbing with scp

Bruno Wolff III bruno at wolff.to
Wed May 27 03:02:00 UTC 2009


On Wed, May 27, 2009 at 09:08:39 +1000,
  Cameron Simpson <cs at zip.com.au> wrote:
> 
> Looks fine to me. This:
> 
>   scp *.txt user at host:
> 
> Works just fine. Note that globbing happens locally.

You can also quote the wildcards to get them to apply remotely. Something
like:
scp remote.com:'*.txt' .

Another way to avoid entering passwords for each remote file is to use
recursive transfers using the -r option.




More information about the fedora-list mailing list