Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2010, 06:37
Avatar de mullins
mullins
 
Fecha de Ingreso: mayo-2006
Ubicación: Zaragoza
Mensajes: 14
Antigüedad: 18 años
Puntos: 0
Respuesta: Copiar archivos entre dos sistemas remotos via SFTP

Me respondo a mi mismo, esta es la solucion que encontre y me funciona (aunque no era exactamente lo que buscaba en un principio)

Código unix:
Ver original
  1. from host A:
  2. tar -cf - directory | ssh user@hostB "cd target_dir; tar -xf -"
  3.  
  4. Where directory is the directory you want to move and target_dir is the destination directory on the remote host.