How do find all files without a name?

General discussion related to "Everything".
Post Reply
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

How do find all files without a name?

Post by Debugger »

How do find all files without a name? :D


Image
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How do find all files without a name?

Post by NotNull »

But *with* a file extension (like .gif)?
(is it even possible to have a completely 'empty' file name?)

For a rough indication use:
file: wfn:.*

For an accurate result, use:
file: regex:^\.[^\.\s]*$


(not tested, though)
vanisk
Posts: 152
Joined: Sat Oct 27, 2018 11:33 am

Re: How do find all files without a name?

Post by vanisk »

NotNull wrote: Fri Jan 11, 2019 10:56 pm But *with* a file extension (like .gif)?
(is it even possible to have a completely 'empty' file name?)
Idk, but there are quite a lot of files only with extension in my machine too. Mostly in Eclipse's Profile & metadata folders.
file: wfn:.*
Worked, Produced 2062 results (which includes some files like ".travis.yml")
file: regex:^\.[^\.\s]*$
Produced 793 results. Worked like a charm.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: How do find all files without a name?

Post by Debugger »

The last regular expression works correctly.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How do find all files without a name?

Post by NotNull »

vanisk wrote: Fri Jan 11, 2019 11:28 pm
NotNull wrote: Fri Jan 11, 2019 10:56 pm (is it even possible to have a completely 'empty' file name?)
Idk, but there are quite a lot of files only with extension in my machine too. Mostly in Eclipse's Profile & metadata folders.
I meant filename.extension without "filename" AND without ".extension". Just a hypothetical situation ..
vanisk
Posts: 152
Joined: Sat Oct 27, 2018 11:33 am

Re: How do find all files without a name?

Post by vanisk »

I meant filename.extension without "filename" AND without ".extension". Just a hypothetical situation ..
Oops. Sorry about that. I misunderstood.
Post Reply