The Chavers

Rob, Missy, Olivia, family and friends.

using tar to copy directories with hard links via ssh

E-mail Print PDF

tar cf - filesORdir | ssh HOSTorIP "(cd /where/to/copy; tar xf -)"

or, to view the files as they are copied:

tar cfv - filesORdir | ssh HOSTorIP "(cd /where/to/copy; tar xf -)"

 

replace filesORdir, HOSTorIP, and /where/to/copy as needed

Last Updated on Thursday, 26 June 2008 19:13  

Random Image

Fishing 2007
 
 
Fishing 2007 Date: 08/18/2007

Login Form