scp question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Buettner
Date:  
Subject: scp question
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.)

Kevin