Backup folder .gz extension added

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Mudflap
Newbie
Newbie
Posts: 5
Joined: November 9th, 2015, 5:35 am

Backup folder .gz extension added

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Backup folder .gz extension added

Post by shypike »

No.
However, SABnzbd will accept nzb.gz files.
Mudflap
Newbie
Newbie
Posts: 5
Joined: November 9th, 2015, 5:35 am

Re: Backup folder .gz extension added

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Backup folder .gz extension added

Post 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).
Mudflap
Newbie
Newbie
Posts: 5
Joined: November 9th, 2015, 5:35 am

Re: Backup folder .gz extension added

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Backup folder .gz extension added

Post by shypike »

Install a gzip tool (like http://www.gzip.org/#exe) and unpack the files with a script.
Mudflap
Newbie
Newbie
Posts: 5
Joined: November 9th, 2015, 5:35 am

Re: Backup folder .gz extension added

Post 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.
Mudflap
Newbie
Newbie
Posts: 5
Joined: November 9th, 2015, 5:35 am

Re: Backup folder .gz extension added

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Backup folder .gz extension added

Post 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.
Post Reply