Question:Redate Files according to another list (see inside)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
eitang
Senior Member
Senior Member
Posts: 250
Joined: 2003-05-19, 20:08 UTC
Location: France
Contact:

Question:Redate Files according to another list (see inside)

Post by *eitang »

Hi all,

In short:

I have two folders with identical file list (i.e. photos, in one folder are the originals, in the second their reduced version).

The program that reduced the photos has no option to "keep the original dates", so all reduced photos have the NOW date...

I wand to sort both folders identically, and one by one re-date the files in the reduced folder with the same date of the corresponding file in the originals folder.

Ideally, I would like to be able to do that with TC, but I doubt it is possible.

I know of no pluggins that can do that and will be happy to find there is one.

My Delphi (5.0) refuses to do that with all sorts of weird errors.

So I thought of creating an AHK script, but I ran into great difficulties for lack of experience with this language.

Anybody can help ?

TIA,
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Question:Redate Files according to another list (see ins

Post by *HolgerK »

eitang wrote:I have two folders with identical file list (i.e. photos, in one folder are the originals, in the second their reduced version).
...
I wand to sort both folders identically, and one by one re-date the files in the reduced folder with the same date of the corresponding file in the originals folder.
- Commands -> Synchronize dirs
- [Compare]
- <Ctrl +A>
- Context menu -> Copy file properties -> (left to right or right to left)
- [x] Timestamp (date+time)
- [Ok]

Regards
Holger
eitang
Senior Member
Senior Member
Posts: 250
Joined: 2003-05-19, 20:08 UTC
Location: France
Contact:

Post by *eitang »

Holger,

WOW ! I am impressed. Going to test it ASAP and report back !!!

Many many thanks.

Later:

It seems to work, except I have some USB DiskOnKey that do not accept the changes. But they also refuse changing their dates with other methods so I think your (Christian's) way works !!!
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
Post Reply