<quote who="Tony Green"> > On Wed, 2003-07-30 at 15:31, Karl Bowden wrote: > > scp [EMAIL PROTECTED]:~/stuff/*.doc theotherbox:~/destdir/ > > Beware of using a * on an scp, the behaviour greatly depends on the > shell you're using. >
The problem being that a wildcard is expanded against the current directory you're in, not against the remote directory as you want... unless you put it in single quotes to prevent that... so, scp '[EMAIL PROTECTED]:~/stuff/*.doc' theotherbox:~/destdir/ will work as you want. J. -- Jan Schmidt [EMAIL PROTECTED] "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Unknown -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug