Linux Today: Linux News On Internet Time.

More on LinuxToday

Command Line Basics: Create And Extract Tarballs

Nov 17, 2011, 18:00 (0 Talkback[s])


How to Help Your Business Become an AI Early Adopter

"To create a tarball, it's good to have all of the files you want in the package to be contained in a directory. Although this is not necessary, it's convenient when you then go to extract the file later. That way the archive will be extracted to its own directory rather than dumping its contents into the current directory.

You can then create a tarball from the command line like this:

tar -cvzf archive.tar.gz directory_to_archive

Complete Story

Related Stories:

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.