[TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

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
nicolap
Junior Member
Junior Member
Posts: 9
Joined: 2011-09-13, 08:55 UTC

[TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

Post by *nicolap »

Hi all,
I tryed to skip the junction when syncronizing some folders but every attempt failed. So I setup a small test to check settings.
TC 10.52 x64

Test setup:
Folder A (in a NTFS local drive)
2 files
1 junction with 1 file inside

Folder B (in a NTFS local drive)
empty


Test 1 -> Synchronize directories
Settings:
[Configuration]
SyncIgnoreJunctions=1
CopyLinks=0
IgnoreLinks=15

Result:
the junction is shown in the right panel (folder A) with the file inside
There are differences between Win 8.1 x64 and Win 10 x64 1809 when the "Empty directories" checkbox is checked but in all cases the Junction is not ignored.


Test 2 -> Synchronize directories
Settings:
[Configuration]
SyncIgnoreJunctions=0
CopyLinks=0
IgnoreLinks=15

Result:
the same as test 1;
the junction is shown in the right panel (folder A) with the file inside


Test3 -> copy Folder A to another folder
Settings:
[Configuration]
CopyLinks=0
IgnoreLinks=15

Result:
Win 8.1 x64 -> the folder A is copied with also the junction inside
Win 10 x64 1809 -> the junction is not copied
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

Post by *sqa_wizard »

Yes, I confirm that naming of SyncIgnoreJunctions is misleading.
SyncIgnoreJunctions=1 works in terms of SyncDontFollowJunctions: It will not show any files, but still shows junctions as empty directories and will copy them accordingly instead of ignoring junctions completely.
help wrote:1: Exclude directory junctions from synchronizing
It should read:
1: Don't follow junctions (reparse points) to directories when synchronizing, just show them as empty directories

A new setting would be helpful:
2: Exclude directory junctions completely from synchronizing. Don't show them at all.
#5767 Personal license
nicolap
Junior Member
Junior Member
Posts: 9
Joined: 2011-09-13, 08:55 UTC

Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

Post by *nicolap »

sqa_wizard wrote: 2023-02-23, 18:32 UTC Yes, I confirm that naming of SyncIgnoreJunctions is misleading.
SyncIgnoreJunctions=1 works in terms of SyncDontFollowJunctions: It will not show any files, but still shows junctions as empty directories and will copy them accordingly instead of ignoring junctions completely.
help wrote:1: Exclude directory junctions from synchronizing
It should read:
1: Don't follow junctions (reparse points) to directories when synchronizing, just show them as empty directories

A new setting would be helpful:
2: Exclude directory junctions completely from synchronizing. Don't show them at all.
In Windows 8.1 it shows the junction AND all the files inside.

In Windows 10 if "Empty directories" is checked shows only the dir, if it's not checked shows nothing (so in this case it works).
Thanks
N
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

Post by *ghisler(Author) »

In Windows 8.1 it shows the junction AND all the files inside.
Not confirmed, I have just tested it myself on Windows 8.1. Maybe you changed the wrong wincmd.ini, or there are more than one lines starting with
SyncIgnoreJunctions
?
Author of Total Commander
https://www.ghisler.com
nicolap
Junior Member
Junior Member
Posts: 9
Joined: 2011-09-13, 08:55 UTC

Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored

Post by *nicolap »

ghisler(Author) wrote: 2023-02-24, 10:15 UTC
In Windows 8.1 it shows the junction AND all the files inside.
Not confirmed, I have just tested it myself on Windows 8.1. Maybe you changed the wrong wincmd.ini, or there are more than one lines starting with
SyncIgnoreJunctions
Checked:
- it's the right wincmd.ini
- only one line with SyncIgnoreJunctions

But the [Configuration] section was duplicate! :twisted:
Thanks for your help
N
Post Reply