Date/Time of unpacked files. Post processing option.

Want something added? Ask for it here.
Post Reply
phoenixxl
Newbie
Newbie
Posts: 11
Joined: March 29th, 2012, 6:33 am

Date/Time of unpacked files. Post processing option.

Post by phoenixxl »

Hello.

Today I came across an issue with a program that uses sabnzbd for downloading.
The problem being , the files that were packed inside the archive had the date/time of the computer that packed them. Which was 6 hours into the future.

The problem that gave is that said files would not be processed until their time was past local time.
Generally it's a good thing that archivers , when unpacking preserve the file's original attributes. However, in this case it does cause some grief.

With this I'd like to ask for an option in post processing , where file creation / modification dates of files would be checked and changed to now() if they are files from the future.
I understand this is not really the concern of sabnzbd . But adding this would resolve potential issues with other programs.

Thank you in advance for considering this.
Friendly regards
Phoenixxl.


PS:The program in question that refuses to process downloads that have a bad date/time is Couchpotatoserver. I can also understand their logic for not processing. I feel this issue is something that can crop up in the future as well with other programs, hence my asking here first.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Date/Time of unpacked files. Post processing option.

Post by shypike »

There's a Config->Special option for that: ignore_unrar_dates
You'll get the unpack time as timestamp instead.
phoenixxl
Newbie
Newbie
Posts: 11
Joined: March 29th, 2012, 6:33 am

Re: Date/Time of unpacked files. Post processing option.

Post by phoenixxl »

Thank you for that tip.
Post Reply