If you are experiencing problems with "Everything", post here for assistance.
-
wrisco
- Posts: 15
- Joined: Wed Jan 19, 2022 6:43 pm
Post
by wrisco »
I'm trying to filter my search results without redoing the search.
Say I have these files:
Code: Select all
C:\File1
C:\File2
D:\File2
D:\File3
When I search:
Code: Select all
regex:^(C:|D:)(.*)$ !dupe:regular-expression-match-2
The results show the two files that are not duplicated on the other drive:
Code: Select all
Full Path Regular Expression Match 2
C:\File1 \File1
D:\File3 \File3
Now, when I apply a filter 'C:' I get all files on that drive:
Instead, I want the files that are not duplicated on the other drive, e.g.:
-
therube
- Posts: 4985
- Joined: Thu Sep 03, 2009 6:48 pm
Post
by therube »
What happens with,
regex:^(C:|D:)(.*)$ <!dupe:regular-expression-match-2 cat C:>
?
-
wrisco
- Posts: 15
- Joined: Wed Jan 19, 2022 6:43 pm
Post
by wrisco »
therube wrote: ↑Fri Sep 01, 2023 4:39 pm
What happens with,
regex:^(C:|D:)(.*)$ <!dupe:regular-expression-match-2 cat C:>
?
I get files from C: that contain 'cat', including the files that also exist on D:
Basically, for this:
Code: Select all
regex:^(C:|D:)(.*)$ <!dupe:regular-expression-match-2 File C:>
I get:
Instead, I want to get this:
Which is the file on C: that does not exist on D:
-
void
- Developer
- Posts: 16770
- Joined: Fri Oct 16, 2009 11:31 pm
Post
by void »
dupe: is applied after your search.
You'll need to copy the filenames to a
file list slot and then perform your C: search:
- Perform your dupe search:
regex:^(C:|D:)(.*)$ !dupe:regular-expression-match-2
- Select all files (Ctrl + A)
- Copy all filenames to the clipboard (Ctrl + Shift + C)
- Search for:
filelist1: c:
- Hold down Ctrl and click the filelist1: text in the search box.
- Paste your filenames (Ctrl + V)
- Click OK.
Alternatively, please try the following search:
file:regex:^c:\\(.*)$ !fileexists:d:\\\1
fileexists:
-
wrisco
- Posts: 15
- Joined: Wed Jan 19, 2022 6:43 pm
Post
by wrisco »
void wrote: ↑Sat Sep 02, 2023 12:20 am
Alternatively, please try the following search:
file:regex:^c:\\(.*)$ !fileexists:d:\\$1:[/rurl]
Excellent!
It does exactly what I want. Very convenient, thank you!