You are not logged in.
I've been searching for this on google and the forums, but can't seem to find anyone that has considered or mentioned this before:
unrar seems to extract files and change the new created files to the date of compression. This is very annoying for people that use by-date sorting on their file managers, and expect their files to appear at the end. Is there any known workaround or way to change this?
I'm using UNRAR 3.90 beta 1.
Thanks.
Offline
Use touch on those files.
To know or not to know ...
... the questions remain forever.
Offline
Yeah, I know how to use touch. The problem is that if you work with a lot of rar files, and have to do it over and over again, it turns out very annoying, when actually its something that shouldn't be even happening.
I think i'm probably going to need to create a script that runs unrar and after doing it, does touch on the extracted files...
Does anyone know if unrar-gpl solves this issue?
Offline
Bump
Offline
Perhaps see how 7z behaves?
Offline
Just tried it, it behaves the same way .
I'll explain why I want this: I have a hard disk I want to use for temporal downloads. I have it mounted in /extra, and since this hard disk fills up very quickly, and I only need those files for 7 days, I want cron to delete any file older than 7 days every day. But if files have wrong timestamp, I can't get this to work.
Also, as I mentioned before, searching in big directories full of files without beeing able to sort by date is very annoying.
Offline
as a workaround you could unrar stuff into a new, timestamped, directory
Offline
create a shellscript, and put it in a directory that appears before unrar in $PATH ... in the shellscript, track whatever file was unrarred then list the rar file and touch all the files it lists, this way you have the behaviour you want but no issues upgrading unrar
Offline
Anyone know what the -f(reshen) switch does?
Offline