Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scp protocol error on multiple file copy?



Hmm.  It seems trying to put more than one pattern into the source
filespec confuses things.

I simplified it to only the sets:

  scp -T -v -p buildhost:"/path/to/sets/@([bem]|tex)*" .

and that worked.

I changed the order around to get all the bits in one source filespec:

  scp -T -v -p buildhost:"/path/to/kernel/n*C*M.gz /path/to/sets/@[bem]|tex)*" .

and that worked too.  Nested @(foo|bar|@(baz|qux)) confused it, though
it works interactively.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index