Conditional custom columns

Discussion related to "Everything" 1.5 Alpha.
Post Reply
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Conditional custom columns

Post by anmac1789 »

Is there a way to get conditional custom columns ? For example, finding duplicate files for which 4 defined paths must be true and exclude all other paths
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Conditional custom columns

Post by therube »

"C:\dir1\*" | "U:\dir2\dir3\*" | "U:\dir3\dir4\dir5\*" | "Y:\DCIM\Camera\*" dupe:name


That might be close, depending on exactly what is wanted.
That will find name dupes within those 4 directories, but not necessarily 4 name dupes with each of those 4 directories.
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Re: Conditional custom columns

Post by anmac1789 »

Again same problem, some duplicates are found in 2 paths, while others are found in all 3 paths.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Conditional custom columns

Post by therube »

So you're only looking for name dupes that are only matched in all 4 of the directories?

Note as written, with
\*
, that limits the search to the specified directory.
(I.e., it does not search subdirectories of the specified directory, so "Y:\DCIM\Camera\2006\*" would not be considered - only, "Y:\DCIM\Camera\*").
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Re: Conditional custom columns

Post by anmac1789 »

therube wrote: Mon Apr 10, 2023 7:03 pm So you're only looking for name dupes that are only matched in all 4 of the directories?

Note as written, with
\*
, that limits the search to the specified directory.
(I.e., it does not search subdirectories of the specified directory, so "Y:\DCIM\Camera\2006\*" would not be considered - only, "Y:\DCIM\Camera\*").
Yes they must be matched in all 4 folders

& Yes that's fine subdirectories shouldn't and I'm okay with that. Since subdirectories would make it really complicated. This could have some far-reaching implications because one does not need to eye-ball searching for files with 4 matching paths

Basically searching for duplicate filenames across 4 folders, if there is no file among any of 4 folders, then it should not match up (in other words, if 3 folders have the same filename, but one folder doesn't then the entire 3 folders that do match should not be in the result)
Post Reply