Results 1 to 7 of 7

Thread: How to compress your data

  1. #1

    Thumbs up How to compress your data

    Hello,

    If you wish to compress and file or directory on your linux server. you can do it following simple commands.


    1] Zip command

    for directory compression you have to use following command.

    HTML Code:
    server [~]##zip -r public_html.zip public_html
    For File compress

    HTML Code:
    server [~]#zip  filename1.zip filename1


    2] tar.gz command

    HTML Code:
    server [~]#tar -czvf  filename.tar.gz filename
    same command you can use for directory as well just replace file with directory.
    Regards,
    Tukaram
    System Admin
    Host.co.in

  2. #2
    Join Date
    Jan 2010
    Posts
    152

    Default

    Hey Tukaram

    Thanks for sharing this. Its really useful.

  3. #3

    Default You read my mind

    I have been having some problems with file compression in Linux. Of course you read my mind once again and have given me just what I need. Thanks Loads! Keep it up!

  4. #4

    Default

    Thanks for sharing that.
    It's so simple. zip for compress and unzip to uncompress.
    Regards,
    Yogesh

  5. #5
    Join Date
    Nov 2010
    Posts
    102

    Default

    Quote Originally Posted by YogeshA View Post
    Thanks for sharing that.
    It's so simple. zip for compress and unzip to uncompress.
    We would really like to hear your method out for this, i guess you have a better and easy way to zip and unzip files.

    It would really help the users of this forum..Thanks in advance!

  6. #6
    Join Date
    Jun 2011
    Posts
    1

    Default

    good post and forum

  7. #7
    Join Date
    Jan 2011
    Posts
    119

    Default

    Though Linux is not a GUI based platform but after reading the guidelines given by Tukaram I feel it as easy as we do it in windows. Thanks Tukaram

Bookmarks

Posting Permissions

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