scp question

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Kevin Buettner
Fecha:  
Asunto: 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