Within Everything find dupe of selected file (size-ext)

Discussion related to "Everything" 1.5 Alpha.
Post Reply
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Within Everything find dupe of selected file (size-ext)

Post by eswul62 »

Following scenario: Filter on ext:psd, selected drive: F:
select click a psd file

Now find duplicates elsewhere based on size and ext, but ... leave the current view in place.
This from within Everything.

Currently I use a workaround, jump to the folder (Opus) then do the duplicate search from there, viz. Opus context menu.
That will bring up duplicates in a separate Everything tab bar.

I wonder whether this can be done within Everything, no idea.

Thanks.
SnagIt-22112024 143554.png
SnagIt-22112024 143554.png (25.37 KiB) Viewed 59 times
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Within Everything find dupe of selected file (size-ext)

Post by void »

Please consider adding a context menu item to find duplicated items in Everything based on size and extension:
  • From the Start menu, search for:
    regedit
  • Right click Registry Editor and click Run as administrator.
  • Navigate to:
    HKEY_CLASSES_ROOT\*
  • Create the following key:
    shell

  • Navigate to:
    HKEY_CLASSES_ROOT\*\shell
  • Create the following key:
    Find dupes in Everything

  • Navigate to:
    HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything
  • Create the following key:
    command

  • Navigate to:
    HKEY_CLASSES_ROOT\*\shell\Find dupes in Everything\command
  • Set the (Default) value data to:
    "C:\Program Files\Everything\Everything.exe" -new-tab -s size:[getsize:"%1"]" "ext:[extension:"%1"]

    (where C:\Program Files\Everything\Everything.exe is your Everything.exe location)


Right click your file and click Find dupes in Everything
Everything will open a new tab with the search:
size:<the size of your file> extension:<the extension of your file>




-new-tab
[extension:...]
[getsize:...]
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Re: Within Everything find dupe of selected file (size-ext)

Post by eswul62 »

Thanks a lot! Matter solved.

FWIW and just for info: one way or the other no dups were found in the new tab.
Regretfully, I couldn't get it working.
Maybe some 'get' was missing, really don't know.
Anyway, I have made a little change to the parameters:

Code: Select all

"C:\Program Files\Everything\Everything.exe" /new-tab -s* size:[getsize:"%1"] ext:[get-property:"%1","extension"]
(as used in Opus)

This works fine.

Thanks again - I wouldn't have figured this out myself (registry settings)
Post Reply