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])


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

"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: