tar
command to compress and uncompress files and folders. The usual file extension for a compressed tar archive is .tgz, although you might also see files ending with the .tar.gz extension. If the archive isn’t compressed, it usually just ends in .tar.tar
command in Terminal only if you specifically need to create a tar archive). See Compress or uncompress files and folders.tar
command, then press Return.z
flag indicates that the archive is being compressed, as well as being combined into one file. You’ll usually use this option, but you aren’t required to.v
flag:% tar -czvf LotsOfFiles.tgz LotsOfFiles
tar
command with the x
flag, then press Return. To see progress messages, also use the v
flag. For example: