Globbing with scp
Dave Feustel
dfeustel at mindspring.com
Tue May 26 23:41:29 UTC 2009
On Wed, May 27, 2009 at 09:08:39AM +1000, Cameron Simpson wrote:
> On 26May2009 18:55, Dave Feustel <dfeustel at 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 at host:
Works. I think I was not appending the ':' to host.
Thanks!
More information about the fedora-list
mailing list