Double quote scp?

Dan Kaminsky dan at doxpara.com
Fri Dec 5 10:54:05 EST 2003


Indeed -- but on the flipside, tar is the _only_ approach (except for 
the excellent rsync, which sadly doesn't scale well to lots of small 
files) that even supports the concept of symlinks.

star is quite nice; easily the fastest tar in the west.

--Dan




Jim Knoble wrote:

>Circa 2003-12-04 14:57:30 -0800 dixit Dan Kaminsky:
>
>: Don't use SCP, it's pretty flaky.
>: 
>: ssh.com prefers sftp, but I've been grumbling for a scp->tar wrapper.  
>: Just do this for now:
>: 
>: tar cf - <files/directories> | ssh user at host "cd /path && tar xvf -"
>: 
>: It's more awkward to type, but it's much more reliable.
>
>As long as both the source and the target systems have a 'tar' command
>that understands symlinks.  Older BSD tar doesn't, in which case you
>need to use something else, like pax, GNU tar, or Joerg Schilling's
>star[1].
>
>Or use rsync[2]-over-SSH, which is reliable and is able to restart
>aborted transfers (rsync -e ssh -avP sourcefile user at target:/path/).
>
>[1] http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html
>[2] http://rsync.samba.org/
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>openssh-unix-dev mailing list
>openssh-unix-dev at mindrot.org
>http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>  
>





More information about the openssh-unix-dev mailing list