Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: orange on January 23, 2014, 12:33:06 AM
-
when I unpack .lha, all directories seem to have 'today' timestamp. is there a way to restore original time?
-
I use ReDate. (http://aminet.net/package/util/cli/ReDate)
-
but there must be a way to modify archive, while preserving dates?
lha does store dir timestamp (when listing), it just doesn't use it when unpacking, for some reason.
-
It does use it. The problem is the order in which changes are done and that the file system updates the dir's time stamp when a file is added to it.
Lha does
makedir drawer
setdate drawer
store drawer/file1 <- this changes the drawer's date to today.
setdate drawer/file1
and so on.
Lha should set date of drawer when it leaves it, not when it enters it.
Can only be changed by the author. Send him a bug report.
-
thanks Thomas.
in case bug report is ignored, could this step:
"store drawer/file1 <- this changes the drawer's date to today."
be modified in OS, so the drawer's date isn't changed?
-
Yes, but the OS isn't maintained any more since almost 20 years. I am quite sure that *this* bug report will be ignored for sure. Not to mention that this breaks functionality which other programs might rely on.
-
Just for curiosity, if you browse into archive under MorphOS and copy contents that way, dates on directories are preserved. But I haven't found other way to preserve them.. yet. Browsing with XADopus under Magellan or unpacking with XAD command line tools don't preserve them either.
-
I am quite sure that *this* bug report will be ignored for sure
Never be so sure. A few days ago I sent a bug report to the author of "Matrix" blanker (regarding incompatibility with the latest release of Picasso96), and was quite surprised to receive a response back from him. Of course he said he'd stopped development nearly a decade ago but he mentioned that if he's able to access his old disks he'd release the source code. So you never know, and I was happy to give him a blast of nostalgia, LOL. :biglaugh: