Tar and untar of folder

March 22, 2017

Run from the (Bash) command line to compress or uncompress a folder. 

Tar (zip) folder: 

tar -zcvf name.tar.gz foldername

Untar (unzip) folder:

tar -zxvf name.tar.gz

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.