Search for folders with files above 260 path limit

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
JTCGiants56
Posts: 81
Joined: Fri Nov 28, 2014 3:58 pm

Search for folders with files above 260 path limit

Post by JTCGiants56 » Fri Oct 30, 2020 9:46 pm

Hello, so I know how in advanced search to find files themselves with 260+ character file paths.

But I'm looking for a way to find all FOLDERS (which may not have over 260 characters themselves) with files in them that are over the 260 character path limit.

Please let me know if this is possible.

Thank you

void
Site Admin
Posts: 5808
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for folders with files above 260 path limit

Post by void » Sat Oct 31, 2020 12:05 am

Unfortunately, Everything does not have a direct search to do this.

You could do this with a 2 stage search:
  • In Everything, type in the following search:
    path:len:>=260
  • From the File menu, click Export....
  • Change Save as type to EFU Everything File List.
  • Choose a filename and click Save.
  • From the File menu, click Open File List....
  • Select the file list you saved earlier.
  • Search for:
    childfilecount:
When you are done with the results, close the file list:
  • In Everything, type in the following search:
  • From the File menu, click Close File List....

I'll consider adding a childlen: / path:childlen: search.

JTCGiants56
Posts: 81
Joined: Fri Nov 28, 2014 3:58 pm

Re: Search for folders with files above 260 path limit

Post by JTCGiants56 » Sat Oct 31, 2020 12:51 am

void wrote:
Sat Oct 31, 2020 12:05 am
Unfortunately, Everything does not have a direct search to do this.

You could do this with a 2 stage search:
  • In Everything, type in the following search:
    path:len:>=260
  • From the File menu, click Export....
  • Change Save as type to EFU Everything File List.
  • Choose a filename and click Save.
  • From the File menu, click Open File List....
  • Select the file list you saved earlier.
  • Search for:
    childfilecount:
When you are done with the results, close the file list:
  • In Everything, type in the following search:
  • From the File menu, click Close File List....
T

I'll consider adding a childlen: / path:childlen: search.
Thanks so much this is what I was looking for!
For some reason childfilecount:1 is showing folders with more than one files in it? Does that look correct to see folders with just 1 file?

Edit: Oh I see, it looks like its kept the folders from before I added the "1" since its a file list.

void
Site Admin
Posts: 5808
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for folders with files above 260 path limit

Post by void » Sat Oct 31, 2020 1:00 am

childfilecount: will match folders that contain 1 or more child files.
childfilecount: is the same as childfilecount:>0

childfilecount: does not count child folders. Use childcount: to count child folders and child files.

childfilecount:1 will match folders that contain exactly 1 child file.

JTCGiants56
Posts: 81
Joined: Fri Nov 28, 2014 3:58 pm

Re: Search for folders with files above 260 path limit

Post by JTCGiants56 » Sat Oct 31, 2020 2:35 am

Thanks!

Post Reply