Return to Snippet

Revision: 52410
at October 22, 2011 00:57 by wnasich

Initial Code
tar -cf - /some/file | ssh tar -xf - -C /destination

Initial URL

Initial Description
tar is usually used for achiving applications, but what we are going to do in this case is tar it then pipe it over an ssh connection. tar handles large file trees quite well and preserves all file permissions, etc, including those UNIX systems which use ACLs, and works quite well with symlinks.

Initial Title
Copy Files Across a Network/Internet in LINUX

Initial Tags
linux, copy

Initial Language