Tar

From Informatics

Jump to: navigation, search

Tar Then Zip

  • tar -cvf myProject.tar myProject/ (this leaves myProject/ on the filesystem, and creates myProject.tar).
  • gzip myProject.tar (this does NOT leave the .tar on the filesystem, and creates myProject.tar.gz).

Unzip and Untar in One Step

  • tar -xzvf myProject.tar.gz
Personal tools