Search by position in folder?

General discussion related to "Everything".
Post Reply
JimmyMittens
Posts: 2
Joined: Thu Nov 10, 2022 4:34 pm

Search by position in folder?

Post by JimmyMittens »

Hi,

Is it possible to pull all files that appear first in their respective folders into a search?

For example: If I have 20 folders all containing photo sets, can I pull the first photo from each folder into a search showing 20 images, the first one in each folder?

Hopefully that makes sense.

Thanks
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search by position in folder?

Post by void »

Yes and no.

Yes, you can perform a distinct search to find at most one file from each directory.
No, you cannot specify what the first file is. -It is currently always the first name-sorted file.

Please try the following:
  • In Everything 1.5, type in your image search, for example:
    *.jpg
  • Hold down Shift and right click the Path column header, under the Find Path Duplicates menu, click Find Unique (Including First Duplicate)
Everything will show one jpg for each distinct folder.
The jpg shown will be the first name sorted jpg in the folder.

The following search also does the same:
*.jpg distinct:path



More control over the 'first' file is on my TODO list.
JimmyMittens
Posts: 2
Joined: Thu Nov 10, 2022 4:34 pm

Re: Search by position in folder?

Post by JimmyMittens »

void wrote: Fri Nov 11, 2022 3:48 am Yes and no.

Yes, you can perform a distinct search to find at most one file from each directory.
No, you cannot specify what the first file is. -It is currently always the first name-sorted file.

Please try the following:
  • In Everything 1.5, type in your image search, for example:
    *.jpg
  • Hold down Shift and right click the Path column header, under the Find Path Duplicates menu, click Find Unique (Including First Duplicate)
Everything will show one jpg for each distinct folder.
The jpg shown will be the first name sorted jpg in the folder.

The following search also does the same:
*.jpg distinct:path



More control over the 'first' file is on my TODO list.
distinct:path is perfect, just what I needed!

Thank you!
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Search by position in folder?

Post by harryray2 »

Not really that important, but is it possible to configure Everything to show the menu without having to hold down shift, or is there a reason the menu doesn't show without holding shift?
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search by position in folder?

Post by void »

You can right click the Find <property> duplicates menu item without holding down Shift and then click Find duplicates/distinct/unique.
Post Reply