scp question

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Kevin Buettner
日付:  
題目: 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