On Mon, 18 May 2009 15:56:58 +0200, giopas <li...@giopas.eu> wrote: > Ciao Paolo/Piviul > > 2009/5/18 Paolo Sala <piv...@riminilug.it> > >> AFAIK non credo scp possa essere utile al tuo scopo dal momento che scp >> copia files... perché non usare rsync? > Avevo pensato a scp perchè... l'avevo trovato in qualche post cercando > "tar > over ssh" (o qualcosa del genere)! Volendo si può fare anche tramite ssh !
---- You can use ssh in conjunction with tar to pull an entire directory tree from a remote machine into your current directory: $ ssh <usern...@sourcehost> tar cf - -C <sourcedir> . | tar xvf - For example, let's say you have a "bsmith" account on a host called "apple". You want to copy those files into your "bobsmith" account on a host called "pear". You'd log into your "bobsm...@pear" account and type the following: $ ssh bsm...@apple tar cf - -C /home/bsmith . | tar xvf - This technique is useful when you have insufficient disk space on the source machine to make an intermediate tarball. ---- from: http://www.shell-fu.org/lister.php?id=78 ;-) bye -- s...@mba -- Per REVOCARE l'iscrizione alla lista, inviare un email a debian-italian-requ...@lists.debian.org con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a listmas...@lists.debian.org To UNSUBSCRIBE, email to debian-italian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org