Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thanks Anthon but I'm not quite following you on the script part. Wouldn't a script with gunzip still wipe away the original gz file? Commented May 9, 2013 at 7:05
  • I added a script, it includes the -c option like you used it, so it keeps the original. Essential the scripts expands the single argument for you. You could change it so that it does a for loop and remove the --max-args argument to xargs for efficiency, but that is probably minor compared to the time gunzip takes Commented May 9, 2013 at 7:12