The "tape archive" utility is a long-standing, well-known command line tool for archival, compression and decompression.
web | documentation | wikipedia | GPL3+


Compress a folder

tar -zcvf <ARCHIVE_NAME.tar.gz> <FOLDER_NAME>

Uncompress a compressed file

tar -zxvf <ARCHIVE_NAME.tar.gz> -C </TARGET/PATH>

CC0 / Public domain dedication To the extent possible under law, d3vid seaward has waived all copyright and related or neighboring rights to "tar in Grasmere notebook, including code snippets" (why? how?)