So, I am trying to restore a Newznab installation by importing in all my NZBs from my previous installation. Except during the import, all your NZBs need to be unzipped/decompressed and not in a “.nzb.gz” format.
 
Well I needed to figure out a way to unzip the compressed NZBs into their existing directories and also removing the original compressed NZB (mainly, to save hard drive space). Thankfully after a little research I was able to put together the following command that would accomplish this.
 
[crayon attributes]
find . -name “*.gz” | xargs gunzip
[/crayon]
 
In the end, this command just recursively searches your working directory for any “.gz” files and decompresses them in their current directory and lastly… removes the original compressed “.gz” file.