I accidentally compressed all the files using the Gzip method which compresses all the files (not directories) individually, replacing the uncompressed files with the .gz compressed files.

How can I revert the operation I just did?


As long as there aren't any files you want to remain gzip'd, use gzip -dr folder/

  • Or just gunzip -r folder – Earl Jenkins Mar 6 '17 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.