Welcome to The-Server-admin.com the place were administrators can get the needed skills for the server room.




Linux TAR Command

Using Tar to zip and unzip files.

I use tar all the time to help zip and archive data on the servers I run. Here are a few tricks I use. If there are any questions, see the forum at forum.the-server-admin.com.


To archive all txt files I use the following command:

tar cvzf archive.tgz *.txt

To extract the contents of a tar file use:

tar xvzf archive.tgz

If you have a tar.zip use:

 

tar xfv *.zip.tar

 

Powered by Bullraider.com