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
[TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored
Moderators: Hacker, petermad, Stefan2, white
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored
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.
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.
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.
It should read:help wrote:1: Exclude directory junctions from synchronizing
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
Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored
In Windows 8.1 it shows the junction AND all the files inside.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.
It should read:help wrote:1: Exclude directory junctions from synchronizing
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 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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored
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 withIn Windows 8.1 it shows the junction AND all the files inside.
SyncIgnoreJunctions
?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52] SyncIgnoreJunctions & IgnoreLinks ignored
Checked:ghisler(Author) wrote: 2023-02-24, 10:15 UTCNot 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 withIn Windows 8.1 it shows the junction AND all the files inside.
SyncIgnoreJunctions
- it's the right wincmd.ini
- only one line with SyncIgnoreJunctions
But the [Configuration] section was duplicate!

Thanks for your help
N