scp question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: scp question
On Thu, Sep 11, 2003 at 12:46:53PM -0700, Kevin Buettner wrote:
/_On Sep 11, 2:30pm, Mike Starke wrote:
/_
/_> I would like to issue the command "scp :some/path/* ."
/_> However, I get the error message "scp: No match.".
/_>
/_> If I specify the remote file all is well. If I use the wild card
/_> locally to put files, everything is fine. Just not as descreibed above.
/_>
/_> How is this copying done?
/_
/_scp -rp :some/path .
/_
/_Note the -rp switch. ("r" for recursive, "p" to preserve times and
/_permissions.)

I think the key I was missing was leaving off the "*" at the end of what I wanted.

Thanks

-mike