Unix tar gzip a folder then unzip it (ssh/telnet/terminal)!
tar -cvzf <filename>.tar.gz <folder-name> CREATE A GZIP ARCHIVE
tar -xvzf <filename>.tar.gz (which will create a folder named <folder-name> in the current directory) EXTRACT A GZIP ARCHIVE
If you need to then send that via scp (secure copy)
scp <filename>.tar.gz <username>@<domain>:/<path_to_file>/<filename>.tar.gz SEND A FILE TO REMOTE SERVER
or scp images.tar.gz [email protected]:/home/john/images.tar.gz
Related Posts
Posted on April 3, 2009 at 1:18 pm by Jordan Carter · Permalink
In: Ubuntu Tricks · Tagged with: Archive, GZip, SCP, Tar
In: Ubuntu Tricks · Tagged with: Archive, GZip, SCP, Tar