Globbing with scp

Cameron Simpson cs at zip.com.au
Tue May 26 23:08:39 UTC 2009


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 just fine. Note that globbing happens locally.

I stringly suggest you generate yourself some keypairs with ssh-keygen
and use an agent (ssh-agent). Then you won't have to type passwords all
the time.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

......you're off! Bottom of the crack, three, four smooth moves, put in a
piece, clip, clip, traverse...find that foothold...hang on...couple of
more moves, clip, clip, stretch, breathe in, get that foot up...layback,
move, move...getting pumped...clip...rest a bit...a few good buckets...rest..
get ready..get psyched...clip...layback...focus...form...pull...jam...doing
good....crux move...don't flail....pullllll....jammmmm....slap!...good...now
to the top...this time I'm gonna make it...just one more move....slopy!...
hand sliding off...no footholds....oh shit oh shit....peeling off...bleeding..
oh please not now...not again...coming off...oh shit...no, no....NO! &%#)B£!!..
..way pumped....do something!!..chin...HEADJAM...KNEE...BLOOD....YES....
TOP...................YEEEEEEEEEEEHAAAAAAAAAAAAAW!!!!!!!!!!!

REDPOINT! FINALLY!
        - Esa-Pekka P{lvim{ki <eepee at utu.fi>




More information about the fedora-list mailing list