TC7.5rc1 Start Sync immediately compares not all

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

TC7.5rc1 Start Sync immediately compares not all

Post by *Samuel »

If I start a sync with my Laptop using the standalone sync:

Code: Select all

%Commander_Path%\TOTALCMD.EXE /S=S:=Laptop
or using the command:

Code: Select all

SYNCOPEN =Laptop
With this Syncoptions:

Code: Select all

[SyncOptions]
Laptop_L=E:\
Laptop_R=\\Samuel-Laptop\Samuel\
Laptop_Wcs=*.*
Laptop_Flags=25|61|6
Laptop_List=C:\Programme\totalcmd\Synchronisieren 1.txt
And the Sync List "Synchronisieren 1.txt":

Code: Select all

Daten\
Fun\
Stuff\
Work\
It starts immediately to search for differences. But it skips "Work" in the Sync process. If I start Sync again (or start a normal Sync without "=") "Work" isn't skipped anymore.

Couldnt reproduce with other folders. - Any ideas?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No idea so far - I will test it.
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

This strangely works:

Code: Select all

%Commander_Path%\TOTALCMD.EXE /S=S:= "E:\" "\\Samuel-Laptop\Samuel" "/O=C:\Programme\totalcmd\Synchronisieren 1.txt"
No idea so far - I will test it.
Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Confirmed and already fixed, thanks! It happens under these conditions:
1. List file is Unicode UTF-16
2. There is no line break after the last item

These two options plus a random component depending on whether the name is followed by two #0 bytes or just one...
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Sounds very good.
Thanks for the many improvements of the sync tools!
Looking forward to the next version.

BTW: Its more likely than you describe if you consider the fact that TC creates exactly this type of files when using: "only marked files" ;-)
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

2. There is no line break after the last item
Can confirm this.
Didn't test the rest.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I can happily confirm the fix in TC 7.5 rc2.
Thank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48113
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply