Page 1 of 1

Help with touch to change file date

Posted: March 5th, 2012, 2:33 pm
by zapbrannigan99
OK I want to change the dates of the downloaded files to the date they were downloaded on, rather than their original date.

If there anyway to do this when sabnzbd calls unrar to get unrar to ignore the dates of the files in the nzb?

Otherwise, there's the touch option - touch -m "$1" will update the files in the directory to todays date, but the problem is I only want to update the file that was unpacked into that folder, as there will already be files in there. How can you touch just the files that were just unpacked be that one download?

Thanks

Re: Help with touch to change file date

Posted: March 5th, 2012, 2:37 pm
by shypike
We have a "secret" setting called "ignore_unrar_dates".
How to use it, is described here: http://wiki.sabnzbd.org/configure-special

Re: Help with touch to change file date

Posted: March 5th, 2012, 2:59 pm
by zapbrannigan99
YES!!! Thanks :)