Help with touch to change file date
Posted: March 5th, 2012, 2:33 pm
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
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