Compress directory into tarball on Linux machine: Revision history

From AcrodusWiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 November 2024

  • curprev 09:4509:45, 28 November 2024Alex talk contribs 484 bytes +484 Created page with "This is the command, and more importantly the options for compressing a directory or folder into a tarball on linux. <pre> tar -czvf filename.tar.gz /path/to/directory </pre> Ensure that you create the tarball with touch first. Also to unzip use the command and options. <pre> tar -xvf /path/to/tarball </pre> -x : extract -v : give more info -f : filename you can also use the -C to specify output directory <pre> tar -xvf /path/to/tarball.tar/.gz -C /path/to/directo..."