[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:39AM +1000, Cameron Simpson wrote:
> On 26May2009 18:55, Dave Feustel <dfeustel mindspring com> wrote:
> | There appear to be missing concluding brackets in the output of man scp:
> | (F9)
> | =================
> | NAME
> |      scp - secure copy (remote file copy program)
> | 
> | SYNOPSIS
> |      scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
> | ...
> |  [[user ]host1:]file1 ...  [[user ]host2:]file2
> | 
> | ==================
> | 
> | The missing right brackets make me wonder how to transmit
> | bunches of files without having to specify the password(s)
> | multiple times. Is globbing possible? If so, could someone
> | provide an example? So far none of my experiments attempting
> | to transfer multiple files in a single scp command have worked.
> 
> Looks fine to me. This:
> 
>   scp *.txt user host:

Works. I think I was not appending the ':' to host.
Thanks!


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