This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

need some info

Website and forum-related announcements and discussion, and anything else that doesn't fit in the above forums.
Post Reply
k
kebabas
Voice
Posts: 1
Joined: Tue Jul 11, 2006 9:06 am

need some info

Post by kebabas »

how to make .tar.gz archive?
or there is another way to extract .rar .zip archives in unix.
:oops:

don't be very critical, i'am new to these things.
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

tar -cf archive.tar directory/file
gzip archive.tar
and will result in a tar.gz archive, as for unpacking a zip/rar archive try gunzip and google for the echivalent of rar.
Once the game is over, the king and the pawn go back in the same box.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

caesar wrote:tar -cf archive.tar directory/file
gzip archive.tar
I prefer:
tar cfz archive.tgz directory/file(s)

also a good choice is:
tar cfj archive.tar.bz2 directory/file(s)

for zip there is an "unzip" and for rar i believe there is an "unrar" which however needs to be installed first... I am pretty sure some of the GUI based archieving tools support these (often just an interface to the CLI tools in the end...)
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Post Reply