Globbing with scp

Craig White craigwhite at azapple.com
Tue May 26 23:11:46 UTC 2009


On Tue, 2009-05-26 at 18:55 -0400, Dave Feustel 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.
----
try...

scp file1 file2 file3 file4 file5 host:/path/to/destination

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list