How to search for long full paths?

General discussion related to "Everything".
Post Reply
alainsr
Posts: 4
Joined: Sat Jun 12, 2010 1:41 am

How to search for long full paths?

Post by alainsr »

Hi. I want to find long paths (of files and folders) in my disks, but the "len:<length>" operator only seems to filter the filename (or folder name) in itself, not the full path. How can I search for a path's lenght?

Ex.: "text.txt" matches a search for "len:8" and folder "files" matches a search for "len:5", but file text.txt at c:\files\ (i.e., "c:\files\text.txt") does not come up when searching for len:17 and that is what I am trying to know: which files and folders have a path longer than X (in this case, longer than 255, in order to prevent copying errors by renaming the files or their upper folders).
void
Developer
Posts: 15675
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to search for long full paths?

Post by void »

Please use the path: modifier to enable full path and filename matching.

Code: Select all

path:len:<x>
where <x> is the desired length.

For example, full path and filename length is greater than 255:

Code: Select all

path:len:>255
For example, full path and filename length is exactly 17:

Code: Select all

path:len:17
alainsr
Posts: 4
Joined: Sat Jun 12, 2010 1:41 am

Re: How to search for long full paths?

Post by alainsr »

Perfect! And quick! Thank you very much! :)
Post Reply