[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Globbing with scp



On Wed, May 27, 2009 at 09:08:39 +1000,
  Cameron Simpson <cs zip com au> wrote:
> 
> Looks fine to me. This:
> 
>   scp *.txt user 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]