FG

How do I gunzip a directory?

Fresh3 days ago
Mar 15, 202672709 views
Confidence Score0%
0%

Problem

I have a gzipped directory called "new" which contains other directories and files, that I compressed in the following way I have copied this >700MB to another location (on a different server) and would now like to unpack it. So, on the new server I go to the directory has "new" in it and I use The…

Error Output

gzip -cvr --no-name /path-to-directory/new > new.gz

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I gunzip a directory?

Low Risk

Gzip compresses files, not directories. If you want to gzip a directory, you must first create a tarball. You can create a tarball and compress it in one step. (create, verbose, gZip, to this file) to reverse the process (eXtract)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment