Results 1 to 3 of 3
hey everyone, like my name says im a newb in linux n i got a question if anyone can help please, i want to compress a whole folder i use ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-04-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
archive
hey everyone, like my name says im a newb in linux n i got a question if anyone can help please, i want to compress a whole folder i use pc linux OS, but im not sure hw to do it, il greatly appreciate any help.
- 10-04-2007 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 678
There are several different ways to compress a directory. Open a shell window and try one of these.
tar makes one file out of many and the z flag runs it through gzip compression. For the same with better compression but slower use bzip2 compressionCode:tar czf foldername.tar.gz foldername/*
Or simply make a zip out of itCode:tar cjf foldername.tar.bz foldername/*
There are many, many more options, but those are the most common ones in my experience.Code:zip foldername.zip foldername/*
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.
- 10-05-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
tnx, i'l try dat n i'l let you kno how it went


Reply With Quote
