scp question

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Kevin Buettner
Dátum:  
Tárgy: 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