sort dirs by date(time) when change in subdirs request

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

sort dirs by date(time) when change in subdirs request

Post by *trevor12 »

I am using sorting dirs in root directory by date(time). I have problem then when I am in root directories structures of dirs of disk C:\ and something is changed not in firts level of subdirs but second, third... levels of subdir, such change is not as result change of date(time) of upper dirs, so although under the hood I have some changes, on the upper level everythings appears as untouched so sorting by date (time) is not helping me .. maybe that behavior is made for some reason so is there any "hack" or plugin that will be "propagate" changes made some degree below in structures up to top dir so sorting first level dirs by date(time) will be signalized me, that there wassome changes on the lower levels in subdirs structures ?
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Every file-system (at least FAT, NTFS, ext2/3/4) behaves that way, so there's nothing TC could do about it.

What you actually can do, is to create some search (Alt+F7) with the relevant search parameters, something like:

Code: Select all

[X] Not older than Y minutes
[X] Attributes [x] Directory
on the Advanced tab. You can save the search parameters (not to mix up with it's results) on the Load/Save tab for easy access in the future.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

File system only updates folder modify time when its contents changed: files/folders are added/removed/renamed. Change of attributes (like timestamp) is not a change that cause updating modify time. Maybe there is a some tool that can track changes and update folder dates (I don't know such ones).
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

I think the only possible way to monitor such things would be a system driver, which layers between the file system and the kernel,
simply because the file system operations are nested deeply within the Windows kernel.

As that kind of problem is really just of cosmetic nature, I'd say such a method would be like using a sledgehamer for cracking a nut.
TC plugins: PCREsearch and RegXtract
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Perhaps it may be done w/o driver using OS notifications (it supports notifications about attribute and timestamp changes).
Post Reply