Wishlist: set folder timestamp (like archive) to newest file

English support forum

Moderators: white, Hacker, petermad, Stefan2

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

You should post your scripts in the Wiki. In the forum they are buried and forgotten after a while. Look here, much space for you. ;)
http://www.ghisler.ch/wiki/index.php/AutoIt

Or if you need webspace, upload them to totalcmd.net. Just contact Ergo on ICQ, it's no big deal.

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Just for your information:

Apparently some AV-Software considers scripts that were compiled with Aut2Exe.exe as dangerous or infected with a backdoor- downloader. This is a false positive. I already have informed several AV-Developers about the issue.

Until now I received an answer of Antivir:

Dear Mr. Schäfer,


Thank you for your recent inquiry.

We could not find a virus in the attachment you have sent us.
The alert you got was a false positive. The false positive will not be longer detected by AntiVir in the current VDF version.

Attachment(s) you sent:
- SetFolderDate.au3
- setfolderdate1.2.exe

-- Freundliche Gruesse / Best regards Avira GmbH Andreas Pohl First Level Support Avira GmbH Lindauer Str. 21, D-88069 Tettnang, Germany Internet: http://www.avira.com
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Post by *jjk »

Good job, van Dusen. So far more than what I asked.
I'll try it soon.

Now I miss only adjust descript.ion's filedate to date of the newest file descripted inside descript.ion

Jean-Jacques
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Post by *jjk »

To van Dusen
Now I miss only adjust descript.ion's filedate to date of the newest file descripted inside descript.ion
BTW, thanks for your nice enhancement to manage descript.ions (elsewhere in this forum)

Also, could you make a release 1.3 to apply folder date also to subdirectories. Actually, if you check "scan recursively" the prog checks all files recursively to calculate, say the newest date file, and to apply it to the directory with the highest level. It would be nice if, meanwhile, the subdirectories with less level are applied in the same time.

I hope that it is clear :?

TIA
User avatar
Yuta
Member
Member
Posts: 141
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Sorry to refloat such an old post, but this is exactly what I'm looking for. I'm not very fond of installing script programs just to having this functionallity.
Has anyone here still have the van Dusen .exe file?.

Optionally, if someone has come with a way to copy a file timestamp to a folder without using scripts, it would be welcome too.
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yuta, I wrote a tiny tool that sets folder modify date to latest file's dates. You can find it here (save as .MIME and decode). Batch file for recursive processing is here (requires parameter %WL and works for selected folders).
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

@MVV
Hey man, thank you very much for this "TinyTool"!
You made my day!!
:D

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

Post by *eitang »

I wrote the following after a similar discussion with dear Ch. Ghisler, back in 2004... 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
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

@eitang
Great - WITHOUT batch and with UI... works very good!
Thank you too and Merry Christmas.

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

Post by *eitang »

@CADweazle,

Thanks for the compliments. I wish others would understand the use of the program and adopt it... <g>
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: Wishlist: set folder timestamp (like archive) to newest file

Post by *mikedepetris »

Hi, can anybody help me with installation instructions of SetFolderDate 1.5 in TotalCommander please?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Wishlist: set folder timestamp (like archive) to newest file

Post by *sqa_wizard »

mikedepetris: That's easy:

Just unzip the content of SetFolderDate_1.5.zip to a folder of your choice.
Now you have to edit the SetFolderDate.ini file.
Mainly for the first entry it is mandatory to adapt it to your installation:

Code: Select all

ProgPath7z=%COMMANDER_PATH%\..\7-Zip\7z.exe
You may use an absolute path with drive letter, but I prefer to have it portable.

Optional do the same with "ProgPathExifTool=" if you have it installed.

Now you select the folders or archives to be processed and start SetFolderDate.exe within TC.
You may do that with a button or an entry at the start menue.
#5767 Personal license
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: Wishlist: set folder timestamp (like archive) to newest file

Post by *mikedepetris »

2sqa_wizard
Thank you very much, It's all working now.
Post Reply