File Compression Info
Posted by on 02 July 2012 12:48 PM
|
|
The commands below are run in Shell (Terminal,) so SSH access, which is enabled on your account by default, is required to use them. In the future this page may include compressing/archiving files using a programming language such as PHP or Ruby. Getting Dirty with CommandsThe commands available on our servers typically include 'zip/unzip', 'tar', 'bzip2/bunzip2', and 'gzip/gunzip'. An impressive array of options! Example UsesThe most common Linux approach is to create .tar.gz files. Using zip is more common for Windows users, and Bzip2 use is increasing. Notice how with tar we are passing options c (create) or x (extract) along with z (gzip), v (verbose), and f (file) into tar. The man page will show additional options and will explain these.
| |
|