Ramin Hossaini (blog)

28Jun/100

Linux: Tar and Zip

Compress:

  • z: Compress using GZIP
  • c: Create an archive (as opposed to the 'x' parameter to extract)
  • v: Verbose mode
  • f: Archive's filename
$ tar -zcvf filename.tar.gz /directory

Extract:

$ tar -zxvf filename.tar.gz
Share and make me happy:
  • Twitter
  • Facebook
  • Digg
  • StumbleUpon

Related posts:

  1. Turning Archive-log mode on and off
  2. Simple MySQL backup-script
  3. Search through files for a string (Linux)
  4. Backing up an Oracle database without RMAN
  5. Wubi – An easy way to Linux
Filed under: General Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Please leave these two fields as-is:

No trackbacks yet.

Bear
Private