Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: archive

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    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.

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    There are several different ways to compress a directory. Open a shell window and try one of these.

    tar czf foldername.tar.gz foldername/*
    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 compression

    tar cjf foldername/*
    Or simply make a zip out of it

    zip foldername/*
    There are many, many more options, but those are the most common ones in my experience.

    Let us know how you get on,

    To be good, you must first be bad. "Newbie" is a rank, not a slight.

  3. #3
    tnx, i'l try dat n i'l let you kno how it went

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts