[Feature request] Extend "Reindex Properties" to work on folders

Discussion related to "Everything" 1.5.
GSD
Posts: 59
Joined: Fri Apr 28, 2023 12:59 pm

[Feature request] Extend "Reindex Properties" to work on folders

Post by GSD »

Right now, hitting Ctrl+F5 with file(s) selected in the result list reindexes their properties, but does nothing with folder(s) selected. It would be great if it rescanned the selected folders and the properties of all their descendants.
If I'm not mistaken it would do what this does:

Code: Select all

/rescan /path/to/folder
But it would account for multiple folders beeing selected and for a parent folder and some of it's descendants beeing selected (so we don't scan anything twice).
This would be supremely helpful on external systems, like a NAS, which often de-sync when running CLI operations and are also slow to re-index. This way, we could simply reindex just the folders we know we've worked on.
Thank you!
therube
Posts: 5798
Joined: Thu Sep 03, 2009 6:48 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by therube »

(If /rescan /path/to/folder is correct, wonder if that could be made into a bookmark, or similar?)
GSD
Posts: 59
Joined: Fri Apr 28, 2023 12:59 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by GSD »

therube wrote: Tue Aug 11, 2026 2:57 pm (If /rescan /path/to/folder is correct, wonder if that could be made into a bookmark, or similar?)
I got that from void's reply here and it seems to work: viewtopic.php?p=83208#p83208

I guess it could be probably be made into a bookmark or filter, but i presume that would mean establishing the folder(s) as the search query first. Regardless, even if it were simpler, I would very much prefer the keyboard shortcut.
therube
Posts: 5798
Joined: Thu Sep 03, 2009 6:48 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by therube »

keyboard shortcut
Bookmarks can be assigned a keyboard shortcut.


(And yes, I just read that link, so I was about to come back here & remove the If... part ;-).)
GSD
Posts: 59
Joined: Fri Apr 28, 2023 12:59 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by GSD »

therube wrote: Tue Aug 11, 2026 3:08 pm
keyboard shortcut
Bookmarks can be assigned a keyboard shortcut.
Ofcourse. I meant extending Ctrl+F5, since it already does properties reindexing for files. Even with the naming beeing somewhat mismatched(since fonders don't have inherent indexable properties, if you disregard size), It makes total sense IMO.
void
Developer
Posts: 20164
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by void »

Ctrl + F5 will refresh indexed properties on selected folders too, just not subfolders/files inside that folder.
I will consider a recursive option on Ctrl + F5.
However, that could be undesirable. Depends on what properties you are indexing for folders.

I also consider a search command to do a recursive indexed property refresh.
So you can at least setup a bookmark with a keyboard shortcut to do what you want.

For now, you'll need to rescan the folder with:
/rescan c:\path\to\folder

then search for:
"c:\path\to\folder\"

Select all results and hit Ctrl + F5.



Refreshing indexed properties shouldn't be necessary.
/rescan c:\path\to\folder
should pickup any changes and update your indexed properties.
What values are missing (or outdated) from your indexed properties?
GSD
Posts: 59
Joined: Fri Apr 28, 2023 12:59 pm

Re: [Feature request] Extend "Reindex Properties" to work on folders

Post by GSD »

EDIT:
Ok, I think I've got it:
/rescan c:\path\to\folder
does what a normal rescan does, but for a specific folder. It applies logic as to whether indexed properties should be refreshed, rather than force refreshing them. This is actually what I'm after. No need for forced properties reindexing. Just a way to run
/rescan
on a specific folder or folders via a keybord shortcut. So my association with Ctrl+F5 and forced properties reindexing was misplaced. Apologies.

EDIT2:
For now, can a bookmark be created that allows running
/rescan
on any selected folder or folders. Somewhat akin to how
$param
allows using the current search query?
/rescan $selected
doesn't seem to work.