Page 1 of 1

Backup folder .gz extension added

Posted: November 9th, 2015, 5:42 am
by Mudflap
I apologize if this has already been answered. I tried to search the forums before posting, but it would not allow me to search for ".gz" because it was too short.

When using the "nzb backup folder" a .gz extension is added after the .nzb extension. Is there any way to prevent this?

Thanks.

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 5:59 am
by shypike
No.
However, SABnzbd will accept nzb.gz files.

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 6:12 am
by Mudflap
Thanks for the quick reply. I use "sort by type" for some of my own bookkeeping and records and the .gz is throwing me off a bit... and it takes forever to manually delete the extensions. Maybe I can find someone to write me a .bat I can drop in the folder to erase them or something. thanks again.

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 7:32 am
by shypike
Just deleting the .gz part in the name is not a good idea.
The files are compressed using the "gzip" method.
That's what the extension tells the operating system (and SABnzbd).

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 8:29 am
by Mudflap
Oh! I didn't know that was why it was added. Yeah, that probably wouldn't be good if I ever needed to actually use them again. I probably won't need to process them though. I'm basically using them as an easy way to come up with a list of nzbs I've used with different programs. I have sabnzb dump the backups into the same file where my downloads from some other programs end up and sort by type. (there are some other types of files in that folder too) With the .gz added those files are not grouped with the rest of them and get easily overlooked....

besides lust clipping the extension off, would you have any suggestions how to make this work? I understand this is not really the kind of question this board is meant to help with, but any input would be appreciated.

Thanks

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 8:47 am
by shypike
Install a gzip tool (like http://www.gzip.org/#exe) and unpack the files with a script.

Re: Backup folder .gz extension added

Posted: November 9th, 2015, 2:18 pm
by Mudflap
Thats a nice simple solution. Thanks. I guess now Im going to do a little research on writing scripts. This one seems like it would be fairly simple to figure out. You have been very helpful, I genuinely appreciate it.

Re: Backup folder .gz extension added

Posted: November 12th, 2015, 4:41 am
by Mudflap
In case anyone else has a similar question/issue in the future, here's how I fixed my issue:

Downloaded gzip
Placed gzip.exe in my working folder
Created a txt file called GZD.bat (any name you choose followed with ".bat" replacing ".txt" will work)
Placed the following two lines of text in the file:
gzip -d *.gz
pause
Saved the file to the working directory.

Now anytime I have gzip compressed documents in that folder I can just double click the .bat file I created and they will be returned to nzb files (or whatever type file they started out as).

As simple and obvious as this seems to some of you, it potentially represents several hours of research to someone who has never done anything like this before. I would one again like to thank the ones who took the time to answer my questions without demeaning or demoralizing me for my lack of knowledge.

Re: Backup folder .gz extension added

Posted: November 13th, 2015, 7:40 am
by shypike
Mudflap wrote:I would one again like to thank the ones who took the time to answer my questions without demeaning or demoralizing me for my lack of knowledge.
You're welcome.
You have a solution and you learned something.