Exclude symlinks from everything

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

Exclude symlinks from everything

Post by JTCGiants56 »

Is there anyway I can exclude symlinked files from my everything results?

For symlinks, the actual file extension is a normal extension, ie. test.mp4, so I can't use "*.symlink" in the exclude files section.

Is there any other way I could achieve excluding symlinks? Thanks.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude symlinks from everything

Post by NotNull »

Yes, there is.
Symlinks are one of the Reparse point type of files Windows can handle (the most common, in fact)
You can find all these reparse point files with his query:

Code: Select all

attrib:L
Before you execute this, I would advice you to index the file attributes too (default: not indexed):
Menu > Tools > Options > Indexes : enable Index attributes and enable Fast attributes sort

If these are the files/folders you want to exclude, you can add this exclusion to one or more filters with:

Code: Select all

!attrib:L
Filters can be managed through Menu: Search > Organize Filters ...
Janus
Posts: 84
Joined: Mon Nov 07, 2016 7:33 pm

Re: Exclude symlinks from everything

Post by Janus »

Is there currently a way to demark symlinks?

Such as give them a different background or text color?

Had to use bold for background, but I think I am understood.

Here's to hoping.


Janus.
JTCGiants56
Posts: 192
Joined: Fri Nov 28, 2014 3:58 pm

Re: Exclude symlinks from everything

Post by JTCGiants56 »

NotNull wrote:Yes, there is.
Symlinks are one of the Reparse point type of files Windows can handle (the most common, in fact)
You can find all these reparse point files with his query:

Code: Select all

attrib:L
Before you execute this, I would advice you to index the file attributes too (default: not indexed):
Menu > Tools > Options > Indexes : enable Index attributes and enable Fast attributes sort

If these are the files/folders you want to exclude, you can add this exclusion to one or more filters with:

Code: Select all

!attrib:L
Filters can be managed through Menu: Search > Organize Filters ...
Thank you! This worked perfectly.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude symlinks from everything

Post by NotNull »

You're welcome! (and thanks for the feedback)
Post Reply