Labels & Searching

Hello,

I see there are two labels in action

  1. From the context menu, which applies the labels to actual folder, files and stores in the meta data on NTFS or fall backs to ADS. I see this triggers the setting of archive flag.
  2. A label which is applied to a path and is set somewhere centrally and not on the actual file. The archival flag isn't set here.

I prefer the second approach where the labels are stored centrally as it can facilitate quick retrieval.

  1. Where are the centrally stored labels located
  2. Is there a way I can apply labels to a path rather than the actual file from the folders context menu
  3. How can we do a quick search for the centrally stored labels. I trust these are readily available as preferences section shows it and hence, don't want to trigger a file system search for this.

You can control where labels are stored by default via Preferences / Favorites and Recent / Labels / Automatically store labels in the file system if possible.

Searching by label can be done via Tools > Find Files > Advanced.

Labels that aren't stored in NTFS are stored in your Opus configuration. Note that that type of label points to the path they're assigned to, literally. It will not change if you move, rename or delete the file; it's still point to the path it was assigned to, waiting for a new file with that name.

I thought unchecking this would use ADS. Thanks

Kind of what I want. I did expect that a DOpus rename, move would alter the label and delete from within DOpus would delete the label but this is OK.

\AppData\Roaming\GPSoftware\Directory Opus\ConfigFiles\foldercolors.oxc file has these labels

Will this do a file system search or lookup from the file. If former, is there a way I can do the later instead. If not, I'll resort to scripting but would appreciate pointers.

I'm no expert here, but isn't storing labels in in the file system the same thing as using ADS?

Put another way, isn't ADS where the labels are stored in the file system, not something to be used instead of the file system?

AFAIK, it'll do both (provided Enable label storage in the file system (NTFS volumes only) isn't off entirely).

Did you try it and find didn't work?

It does find even if Enable label storage in the file system (NTFS volumes only) is off. But as it's a file system search its slower. It looks for the label in the file system even though this is turned off. Appears that it first searches the file system and then checks the config file. Can we have an option to search only the config file?

Turn that off if you don't want the filesystem to be used for labels at all.

Everything tool supports index ADS, it would be nice to see text in Everything tool, such as Red, and also to use scripts to search via Everything tool.

This is the wrong place to request features be added to Everything. :slight_smile:

Ok, but this is not a feature request, just in a readable way.

Turned that off and noticed that it doesn't read labels from file system which is OK. However; why does it still navigate the File System during find. Shouldn't it instead directly list the files from the config which have that label assigned.

Find still has to look for files/folders below the specified starting folder(s), before testing what their labels are (if any).

Would it be possible to consider altering this behavior in a future version

Scenario 1: The find is triggered without labels. No change

Scenario 2: Only label search is done. This should just match the labels from the config file. If a computer wide search is triggered for a label, the speed boost will be immense as it only needs to check a single file to do the listing against navigating the entire file system. There is a possibility that some of the files in the config are no longer present on the file system and those can be filtered out or the missing files can be displayed as zombies.

Scenario 3: A label search along with other non-search criteria (AND). The current way is to do a filesystem search and apply the label criteria simultaneously. In revised way, it searches the labels first and then performs a find within find. Again, the speed gains will be immense.

Scenario 4: A label search along with other non-search criteria (OR). No change