Qondio
Front
Intel
IntelMart
Shares
My Qondio
Account
Simply Conservative > Intel > An Explanation of .tar

qondio.com/0Ggj PRINT EMAIL

An Explanation of .tar

Tar Activity
John Daniels

The .tar is a archiving utility in Linux that allows compression using the zip or gzip formats. The following are commands one would use to create an archive.

Tar c is used to create the tar arc.
f is used to name the directory so for example tar cf stuff.tgz
v sets verbose mode so you can see whats happening
z allows you to compress the archive

So for example to compress a directory named stuff to an archive named stuff the command would be:

tar cfz stuff.tgz stuff where the first stuff is the name of the new archive and the second is the name of the folder being compressed.

If you want to get files from multiple directories you do a command similar to searches. To put all jpegs in an arhive stuff you would

tar cfz stuff.tgz *.jpg

The x command is used to ungroup and or uncompress the archives. It will ungroup the files into the current directory. If you want to use a different directory switch to it or make it if it does not exist with the mkdir command. Finally, if you want to extract individual files you can do so with the following example:

tar x stuff.tgz pic001.jpg

John Daniels is a former High School teacher turned computer technician. He has over 6 years of experience in the field and operates a site that gives daily tech tips at www.broketech.com It is part of the John W. Daniels network at www.johnwdaniels.com

External Links

John W. Daniels Network

Contributed by Simply Conservative on May 22, 2008, at 2:35 AM UTC.

Reactions

No reactions yet.

Rate This Intel

Please login or sign up to rate this intel.

Comments

Please login or sign up to add a comment.

Share

Copyright Notice

The copyright for this content entitled "An Explanation of .tar" has been specified by the contributor as:

All Rights Reserved

This content may not be copied, distributed or adapted by anyone under any circumstances.

Login Here with
Any Email Address
Any Password
No account? Sign up.

Intel Contributor
This intel was contributed by Simply Conservative


Simply Conservative

Qondio Archive
May, 2012
123456
78910111213
14151617181920
21222324252627
28293031


2008
January, February, March, April, May, June, July, August, September, October, November, December
2009
January, February, March, April, May, June, July, August, September, October, November, December
2010
January, February, March, April, May, June, July, August, September, October, November, December
2011
January, February, March, April, May, June, July, August, September, October, November, December
2012
January, February, March, April, May

Sign Up
Not a member yet? Qondio is a powerful network for making it online. If you have a website to promote, we can help. Sign up and get in on the action.

About Qondio
Welcome to Qondio! Discover the awesome power this network can deliver by going to our About page. Or you could skip straight to the Sign Up form.

ABOUT
SUCCESS GUIDE
FEATURES
FAQ
ADVERTISE
CONTACT
USAGE POLICY
PRIVACY POLICY


TWITTER
FACEBOOK