Unzip & Untar a .gz file on mac


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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 -

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.