Forrest logo
back to the tar tool

tar:ai:dbce2

how tar?
$ tar -cvf archive.tar file1 file2 ${directory}
try on your machine

Create a new tar archive named archive.tar containing file1, file2, and all files within the directory/ directory

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 tar?
back to the tar tool