Search with 'Everyting' does not respect IgnoreLinks=8

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Search with 'Everyting' does not respect IgnoreLinks=8

Post by *petermad »

If I search my C: drive for all files with 'Everything' enabled I get 157007 files in 21108 folders - and if I search without 'Everything' I get 174685 files in 20690 folders (Ignore list enabled in both cases).

If I set IgnoreLinks=8 in wincmd.ini in order to ignore junctions and symlinks I still get 157007 files in 21108 folders with 'Everything' enabled - but if I search without 'Everything' I now get only 171235 files in 19947 folders - this shows that searching with 'Everything' does NOT respect the IgnoreLinks=8 setting.

Is this a bug, or just a missing feature :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

In "Everything" under Tools > Options... > Indexes\NTFS junctions are listed.
Maybe you could untick "Include in database"?
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

tuska wrote:In "Everything" under Tools > Options... > Indexes\NTFS junctions are listed.
Maybe you could untick "Include in database"?
I don't see such an option:
http://madsenworld.dk/tcmd/everything5.png
http://madsenworld.dk/tcmd/everything3.png

The "Include in database", I see, is about whether I want to include the selected volume ("WINDOWS (C:)" in the screenshot) in the database - not about junctions

Anyway - I think that it would be nice if changing the IgnoreLinks setting would work also for 'Everything' searches, so I don't have to change the setting in two different setups.

I am using 'Everything' v. 1.4.1.895
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

petermad wrote:I don't see such an option: ...
Just for info, how junctions are displayed with me:
http://www.bilder-hochladen.net/files/big/lwdu-x-f255.png
(The view can be enlarged with the magnifying glass (+)).

I use these junctions for asymmetric multiple synchronizations (--> for backups).
Complete example in the German forum: viewtopic.php?p=325495#325495
GoogleTranslate
But I always have a bit of a shudder on the subject . :?

Everything Version 1.4.1.906 (x64) (--> but in Everything 1.4.1.895 it does not look any different).
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2tuska
Aha - but I don't have any junctions for whole volumes - as you could see on my screenshot http://madsenworld.dk/tcmd/everything5.png I only have real partitions in that list - so nothing I can disable.

Anyway when I wrote:
If I set IgnoreLinks=8 in wincmd.ini in order to ignore junctions and symlinks I still get 157007 files in 21108 folders with 'Everything' enabled
I was expecting to see a lot fewer files and folders because of all Window's junctions especially in the c:\Users\ subdirs with IgnoreLinks=8 - but I see just the same number.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

IgnoreLinks=8 has no effect when searching with Everything, because TC doesn't go from subdirectory to subdirectory to find files. It just tells Everything where to look. If you need IgnoreLinks=8, you need to disable the "Everything" option.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Maybe it could be added to the help file that IgnoreLinks=8 has no effect when searching with Everything
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Search with 'Everyting' does not respect IgnoreLinks=8

Post by *ghisler(Author) »

That's a good idea, I can add it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Search with 'Everyting' does not respect IgnoreLinks=8

Post by *petermad »

Help now in TC 9.21rc2 says: :-)
IgnoreLinks=0 Allows to ignore hard links (junctions, reparse points) to directories in various functions. Note: The function "Synchronize dirs" uses a separate option "SyncIgnoreJunctions".
Sum of:
1: copy/move/calculate occupied space
2: internal packers (zip, tar)
4: branch view
8: find files (except when using Everything), re-scan tree
16: ignore links even when they are selected in the current directory. Otherwise only links in selected subdirectories are ignored.
Post Reply