Tarballing over the network (instead of archiving, then copying)

tar cf -  source/dir   | ssh server.example.com 'cat >foo.tar'
tar czf -  source/dir  | ssh server.example.com 'cat >foo.tar.gz'

ssh server 'cat foo.tar'    | tar xf -
ssh server 'cat foo.tar.gz' | tar xzf -

Miscellanea



Valid XHTML 1.0 Transitional

Maintained with open-source software, especially GNU Emacs and the GIMP.

Back to the top of this page

Back to the main page