Search across specific folders only?

Discussion related to "Everything" 1.5.
Post Reply
wkearney99
Posts: 28
Joined: Sun Nov 07, 2021 2:42 pm

Search across specific folders only?

Post by wkearney99 »

Is there a way to show a search list from just a specific set of starting folders, recursively?

As in, search for *.jpg from "c:\some set\of folders\children\" and "e:\some\other set\of children\" Where I'd want to see results from the child directories within those two paths (not just those specific paths).

There are some situations where a visual overview (like a contact sheet) is the only viable way to scan for duplicates (not the same resolutions usually, but also cropping or other factors). Seeing the result list as extra large thumbnails would be great.
Ok, I sort of answered this for myself. The key was understanding that in order to use a file list for this you literally need to type "filelist1:" in the search bar, and then control-click it to add things to it. Where the filelist can be 0 through 9.

Is there some other way to build a filelist from other search results?

Or is there some other way to do a combined search limited to only specific directories?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search across specific folders only?

Post by void »

Is there some other way to build a filelist from other search results?
I typically recommend copying the filenames from your results with Ctrl + Shift + C
Then right click the
filelist1:
search and click Edit File List Slot....
Paste your filenames and click OK.

From there you can search for childfilelist1: to find the parents.
parentfilelist1: will give you the children.

There's other options like ancestorfilelist1: and descendant-filelist1:



To set a keyboard shortcut to save the current selection to a file list slot:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • To the right of Show commands containing, search for:
    slot
  • Select File | Set File List Slot x
    (where x is the slot number 0-9)
  • Click Add....
  • Press a new keyboard shortcut and click OK.
  • Click OK.


To create a bookmark to save the results to a file list slot:
  • In Everything, from the Bookmark menu, click Add to bookmarks....
  • Change the Name to:
    Save File List 1
  • Change the Search to:

    Code: Select all

    /select-all
    /set-filelist1
    
  • Click OK.

Or is there some other way to do a combined search limited to only specific directories?
File list slots are going to be the easiest.

If you are only working with a couple directories, just use a semicolon delimited list of paths.
For example:

C:\Windows\;"C:\Program Files\"
Post Reply