<UTIL> Change timestamp of whole dir-trees folders to youngest file

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

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

<UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *eitang »

I wrote the following after discussion with dear Ch. Ghisler, back in 2004...He didn't want to add this (Similar to my CopyToTabs).
You're welcome to it.

Dir Dates
---------
English: [ Re-Dates folders tree according to youngest file inside ]

This program (Bilingual, French and English), will re-date a whole directory tree starting at the directory you selected. Each directory will be timestamped to the same time and date of the youngest file inside it. You can "Drag && Drop" any file or Directory onto the program's icon to set the starting directory
Works with Windows UI, OR command line parameters, file OR folder.

Portable: A Singlr EXE + a small DLL. size: 239k. Writes settings in app's folder. Nothing else.

Written February 10th, 2004. Last update December 16th, 2012.
--------------------------------------------------------------------------------
French: [ Redate une arborescence de répertoires selon les plus jeunes fichiers inclus ]

Ce programme (Bilingue, Français et Anglais), re-date toute une arborescence de dossiers, demarrant au dossier de votre choix.Chaque dossier sera date a la meme date-heure du fichier le plus jeune qui y reside. Vous pouvez Glisser un fichier/repertoire sur l'icone du programme pour fixer le repertoire de depart.
Fonctionne avec l'interface Windows OU avec ligne de commande.

C'est une application portable: 1 executable, une DLL taille totale 239k. Rien n'est écrit ailleurs que dans le répertoire de l'application.

Ecrit Le 10 Fevrier 2004. Dernière M.à.j. le 16 Déc 2012.

Download / télécharger DirDate
Last edited by eitang on 2020-01-09, 18:21 UTC, edited 5 times in total.
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *iana »

How does this compare to SetFolderDate?
As far as I can tell although SetFolderDate is an autoit script it's much more feature rich, as it can scan inside archives and some pe files and set the modification date on archives and folders, it can recurse sub-folders etc and it's open source?
What do you mean by youngest?
If I have a file from 2003 and one from 2004, will it set the date to 2004 or 2003? Do you mean the newest like 2004 in the example?
eitang
Senior Member
Senior Member
Posts: 250
Joined: 2003-05-19, 20:08 UTC
Location: France
Contact:

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *eitang »

>> How does this compare to SetFolderDate?

I don't know.

>> SetFolderDate is an autoit script it's much more feature rich,

My program is NOT dependent on any other soft, not even on TC. It is VERY small, VERY fast, accepts drag&drop (folders OR files) as well as UI.

>> as it can scan inside archives

My program does not. I take care of folder dates BEFORE compressing...

>> it can recurse sub-folders etc

So does my program. Why don't you test it instead of worrying ???

>> What do you mean by youngest?
>> If I have a file from 2003 and one from 2004,

2004 is younger than 2003 so it will be 2004.
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *mikedepetris »

The download link is broken, can anybody help?
Is it possible to filter some files in calculating the newest file date? I usually exclude .* *.db .svn/*.*
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *Horst.Epp »

The best for this purpose is for me FolderTimeUpdate from Nirsoft
https://www.nirsoft.net/utils/folder_time_update.html
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *mikedepetris »

Gral wrote: 2019-07-02, 16:17 UTC Get it here
https://1fichier.com/?6ea5rscwplq4hp79xe5e
"1fichier.com unexpectedly closed the connection."
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *mikedepetris »

Horst.Epp wrote: 2019-07-02, 17:40 UTC The best for this purpose is for me FolderTimeUpdate from Nirsoft
https://www.nirsoft.net/utils/folder_time_update.html
Can't set an ignore list like I use in MultiCommander: .* *.db .svn/*.*
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *Horst.Epp »

mikedepetris wrote: 2019-07-03, 14:53 UTC
Horst.Epp wrote: 2019-07-02, 17:40 UTC The best for this purpose is for me FolderTimeUpdate from Nirsoft
https://www.nirsoft.net/utils/folder_time_update.html
Can't set an ignore list like I use in MultiCommander: .* *.db .svn/*.*
You can !
There is a field named:
Skip files that match the following wildcards: (comma delimited list)
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: <UTIL> Change timestamp of whole dir-trees folders to youngest file

Post by *mikedepetris »

Horst.Epp wrote: 2019-07-03, 15:35 UTC
mikedepetris wrote: 2019-07-03, 14:53 UTC
Horst.Epp wrote: 2019-07-02, 17:40 UTC The best for this purpose is for me FolderTimeUpdate from Nirsoft
https://www.nirsoft.net/utils/folder_time_update.html
Can't set an ignore list like I use in MultiCommander: .* *.db .svn/*.*
You can !
There is a field named:
Skip files that match the following wildcards: (comma delimited list)
ah ok thanks, it's just the screenshot that needs to be updated
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: <UTIL>Redate whole dir-trees folders to youngest file

Post by *Usher »

2tbeu
You should change icon for Redate. It's invisible in dark mode.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: <UTIL>Redate whole dir-trees folders to youngest file

Post by *tbeu »

Which icon actually?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: <UTIL>Redate whole dir-trees folders to youngest file

Post by *Usher »

Of course the default one, added to buttonbar. Currently it's a "Redate" text, black on a transparent background, with no light border around letters.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: <UTIL>Redate whole dir-trees folders to youngest file

Post by *tbeu »

There is no icon in SetFolderDate.wcx.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: <UTIL>Redate whole dir-trees folders to youngest file

Post by *Usher »

2tbeu
I mean Redate util (addon, exe) as in the topic title, not your SetFolderDate plugin. Sorry for wrong addressing.

@moderators: Could you change titles in this topic, please? It's NOT about Redate util so it's misleading. "Change date of" or "Change timestamp of" will be better.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply