Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed order of tar up command.

...

Create linux tar gz (Gzip) archive

tar -cvfz czvf myarchive.tar.gz ./mydirectory/

Note

The f flag must come at the end or you will get an error.

Here is what each flag does,

Panel

-c, –create create a new archive


...

...