Posted By

mprabhuram on 07/26/10


Tagged

UnixScripts


Versions (?)

Unzip & Untar a .gz file on mac


 / Published in: Bash
 

URL: http://jimmont.com/resrc/osx.htm

  1. ##unzip
  2. gzip -cd hadoop-0.20.2.tar.gz
  3.  
  4. ## Untar (extract verbose mode)
  5. tar -xvf ./Desktop/filename.tar
  6.  
  7.  
  8. ## create Tar
  9. tar -cvf filename.tar ./Desktop/
  10.  
  11. gunzip -c myfile.tar.gz | tar xvf -

Report this snippet  

You need to login to post a comment.