Dupe combine syntaxes

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

Dupe combine syntaxes

Post by anmac1789 »

Hi, is there a way to combine dupe: functions? For example, match files that have the same dc ONLY or the same SIZE only? I know we can combine search syntaxes with folders: but what about greater flexibility with dupe: ? thanks!

dupe:dc=dm;size;name ??
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Dupe combine syntaxes

Post by raccoon »

You can do dupe:name,size,dm and you can combine it with dc:=dm: as its own separate term, so that all results have to have a duplicate name, duplicate size, and duplicate date-modified... as well as the date-modified has to be the same as date-created.

dupe:name,size,dm dc:=dm:

to exclude folders, add !folders: or files:
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: Dupe combine syntaxes

Post by anmac1789 »

raccoon wrote: Wed Dec 21, 2022 8:29 pm You can do dupe:name,size,dm and you can combine it with dc:=dm: as its own separate term, so that all results have to have a duplicate name, duplicate size, and duplicate date-modified... as well as the date-modified has to be the same as date-created.

dupe:name,size,dm dc:=dm:

to exclude folders, add !folders: or files:
Is there a difference between dc:==dm: and dc:=dm: and also does it matter what order the date syntaxes occur first ? dc:=dm: vs. dm:=dc: ?
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Dupe combine syntaxes

Post by void »

Everything only supports one dupe function call.

The dupe call occurs after the search is complete.
The last (right most) dupe: call is used.

If you want to combine dupe functions you would need to use file list slots:
  • Perform your dupe:dm search
  • Select all files (Ctrl + A)
  • Copy all filenames (Ctrl + Shift + C)
  • Search for:
    filelist1:
  • Hold down Ctrl and click the filelist1: text in the search box.
  • Paste your filenames (Ctrl + V)
  • Click OK.
    ---
  • Perform your dupe:size search
  • Select all files (Ctrl + A)
  • Copy all filenames (Ctrl + Shift + C)
  • Search for:
    filelist2:
  • Hold down Ctrl and click the filelist1: text in the search box.
  • Paste your filenames (Ctrl + V)
  • Click OK.
    ---
  • Search for:
    filelist1: | filelist2:

Is there a difference between dc:==dm: and dc:=dm:
No, the following are all the same:
dc:dm:
dc:=dm:
dc:==dm:
dm:dc:
dm:=dc:
dm:==dc:

This finds files/folders where the date created timestamp is exactly the same as the date modified timestamp.
This only works on one file/folder at a time.

The dupe: function does not support dupe:dc=dm
Please use one of the following to compare date create or date modified with other files/folders:
dupe:dc
dupe:dm
dupe:dc;dm
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: Dupe combine syntaxes

Post by anmac1789 »

void wrote: Wed Dec 21, 2022 9:41 pm Everything only supports one dupe function call.

The dupe call occurs after the search is complete.
The last (right most) dupe: call is used.

If you want to combine dupe functions you would need to use file list slots:
  • Perform your dupe:dm search
  • Select all files (Ctrl + A)
  • Copy all filenames (Ctrl + Shift + C)
  • Search for:
    filelist1:
  • Hold down Ctrl and click the filelist1: text in the search box.
  • Paste your filenames (Ctrl + V)
  • Click OK.
    ---
  • Perform your dupe:size search
  • Select all files (Ctrl + A)
  • Copy all filenames (Ctrl + Shift + C)
  • Search for:
    filelist2:
  • Hold down Ctrl and click the filelist1: text in the search box.
  • Paste your filenames (Ctrl + V)
  • Click OK.
    ---
  • Search for:
    filelist1: | filelist2:

Is there a difference between dc:==dm: and dc:=dm:
No, the following are all the same:
dc:dm:
dc:=dm:
dc:==dm:
dm:dc:
dm:=dc:
dm:==dc:

This finds files/folders where the date created timestamp is exactly the same as the date modified timestamp.
This only works on one file/folder at a time.

The dupe: function does not support dupe:dc=dm
Please use one of the following to compare date create or date modified with other files/folders:
dupe:dc
dupe:dm
dupe:dc;dm
When I do "Hold down Ctrl and click the filelist1: text in the search box" and paste the results, I only see an entry for "fivefour" I dont know what this means
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Dupe combine syntaxes

Post by void »

Is Ctrl + Shift + C not copying the filenames?

Please try copying a few lines of text from and see if they paste into the file list slot editor:
For example, copy the following:

Code: Select all

C:\Windows\Notepad.exe
C:\Windows\Explorer.exe
In Everything, search for: filelist1:
Hold down Ctrl and click the filelist1: text.
Press Ctrl + V
Are the filenames pasted?
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Dupe combine syntaxes

Post by raccoon »

Alternately type filelist1: then hit F2. No mouse needed.
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: Dupe combine syntaxes

Post by anmac1789 »

void wrote: Thu Dec 22, 2022 10:23 am Is Ctrl + Shift + C not copying the filenames?

Please try copying a few lines of text from and see if they paste into the file list slot editor:
For example, copy the following:

Code: Select all

C:\Windows\Notepad.exe
C:\Windows\Explorer.exe
In Everything, search for: filelist1:
Hold down Ctrl and click the filelist1: text.
Press Ctrl + V
Are the filenames pasted?
Okay that worked, I dont know what I was doing wrong. Maybe I need to copy all that data first into notepad then paste it in the filelist.
raccoon wrote: Thu Dec 22, 2022 3:30 pm Alternately type filelist1: then hit F2. No mouse needed.
Thanks for that shortcut! will remember that
Post Reply