Tar and un-tar files on linux

  • by

Create tar.gz

tar -czf destination.tar.gz folder-file-to-compress/

Extract tar.gz

tar -xzf file.tar.gz