Page 1 of 1

have a intelligent folder date column

Posted: 2014-01-19, 08:19 UTC
by Michael REMY
hi,

windows system doesn't report the lastest file date modiief of the files to his folder. So you may have a modified folder date with "01/01/2010" whereas you have all the files with "01/01/2014" modified dates.

Maybe TC would perform and increase this improved display of the folder date column....


have a good day

Posted: 2014-01-19, 10:43 UTC
by MVV
By default TC displays actual file and folder information. Recursive scanning would slow down file listing.

You can try to find corresponding plugin that will display folder date based on the most recent file date.

Posted: 2014-01-19, 21:14 UTC
by meisl
Nice idea, can remember to have wished something like that myself.

I'm considering writing a plugin for that. It would require tc_java, though. Hope that wouldn't keep you from trying it out?

Any more ideas of what such a "DirInfo" plugin could additionally provide?

Eg the last modified date would not only be available as the most recent among the contained files but also as least recent (possibly via units "min" and "max").
Btw: need not only be about dates, btw. Eg ttl # of files contained, max depth wrt to # folders or (and) path length in characters, what have you...
EDIT: another useful one (at least for me): "how much left if burnt on CD/DVD/BD?"

So, what d'ya think could be useful?

Posted: 2014-01-19, 22:00 UTC
by Michael REMY
MVV wrote:By default TC displays actual file and folder information. Recursive scanning would slow down file listing.
i don't think so. because all the information are in the partition table (which might be always load or in cached while you browse you system).
date, size, filename are not in separate location on the harddrive, there are all in the same place (like the summary of a book).

Even not, with ssd or recent harddive, it might not cost many ressources from the system

Posted: 2014-01-20, 05:59 UTC
by MVV
If your folder contains thousands of files and subfolders, you need some time to enumerate all of them and to ask OS for their attributes.

Posted: 2014-01-20, 22:55 UTC
by meisl
Michael, MVV is right. You're overestimating a bit the magics of NTFS :)

However, a properly implemented plugin can very well do what you propose, with friction-free user experience. I mean it won't hang, only thing is that you might have to wait a bit (seconds, at the worst) until values show up.

Have you noticed my post above?

Posted: 2014-01-21, 07:03 UTC
by Michael REMY
i didn't mean a recursive analyze of the branch, but just the folder (his child).


the entire filesystem (since windows 2000 i think) have a simple sql query API which provide that, so you either not need to access to the main file system partition, the OS manage that by this API and it is quick (about 1ms by folder)