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: sheep, Hacker, Stefan2, white

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

Search with 'Everyting' does not respect IgnoreLinks=8

Post by *petermad » 2018-07-20, 10:52 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
tuska
Power Member
Power Member
Posts: 1756
Joined: 2007-05-21, 12:17 UTC

Post by *tuska » 2018-07-20, 13:44 UTC

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: 8972
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2018-07-20, 14:27 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
tuska
Power Member
Power Member
Posts: 1756
Joined: 2007-05-21, 12:17 UTC

Post by *tuska » 2018-07-20, 17:18 UTC

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: https://ghisler.ch/board/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: 8972
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2018-07-20, 21:17 UTC

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 9.5b8 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38395
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-07-22, 06:54 UTC

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
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8972
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2018-07-25, 22:23 UTC

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: 38395
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) » 2018-07-26, 07:42 UTC

That's a good idea, I can add it.
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8972
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2018-08-01, 22:02 UTC

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