Forrest logo
back to the tar tool

tar:ai:93209

Compresses and archives the file.txt into a tarball named archive.tar.gz
$ tar -czvf archive.tar.gz ${filename}
try on your machine

Compresses and archives the file.txt into a tarball named archive.tar.gz

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how do I archive a file?
back to the tar tool