Solved

VB.Net GZipstream

Posted on 2010-08-29
3
821 Views
Last Modified: 2012-05-10
I know how to compress a single file using GZip, but how would I compress a folder and all sub folders?
0
Comment
Question by:XGenwareS
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
thepanch earned 500 total points
ID: 33554996
gzip can only compress a single file. tar can archive multiple files, but it doesn't compress them. Therefore the two tools are oftne used together: first you archive all the files into one with tar, then you compress that file with gzip

and you use it like this
tar -cvzpf archive.tgz /home/example/public_html/folder
good luck
0
 

Author Closing Comment

by:XGenwareS
ID: 33555140
Worked perfect thanks
0
 
LVL 4

Expert Comment

by:thepanch
ID: 33555283
np anytime.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now