Thursday, July 8, 2010

Solaris SSH and Tar combine

to push


tar czf - www.example.com/ | ssh joebloggs@otherserver.com tar xzf - -C ~/


to get

ssh username@from_server "tar czf - directory_to_get" | tar xzvf - -C