FG
💻 Software

Critical gzip mistake - how to undo 'gzip -r ./'

Fresh5 days ago
Mar 15, 20266788 views
Confidence Score0%
0%

Problem

So I tried to make a gzipped backup of my entire directory structure, but I inadvertently issued the command , hoping to add all files and folders to a single gzip archive. This obviously is very wrong, but before I had time to quit, it gzipped each of my files individually (recursively) and delete…

Error Output

gzip -r ./

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Critical gzip mistake - how to undo 'gzip -r ./'

Low Risk

To undo this, use the opposite command: Note that the original command will skip over files that already have a suffix, because there's no point in compressing them twice. However, the above command will decompress such files, because it doesn't kno…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment