Synchronize Dirs... + Case sensitive

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Damel
Member
Member
Posts: 130
Joined: 2003-02-06, 01:11 UTC
Location: Prague, Czech Republic

Synchronize Dirs... + Case sensitive

Post by *Damel »

Hi, sometimes an little (un)happy accident occurs and as a result of it has name of file/dir an 'case' typo (eg FIle/DIr). And if this typo isn't found, it lives his long life in backups too. But if found is (and corrected), then during synchronization (disk <-> backup) is not displayed as difference! God damn resistant typo!

Please add case sensitivity in file and directory names into synchronisation criterias. Thanks
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can try my NameCompare plugin, it enables case-sensitive comparing of file paths. After installing it, chose by content and select this plugin for all files.
User avatar
Damel
Member
Member
Posts: 130
Joined: 2003-02-06, 01:11 UTC
Location: Prague, Czech Republic

Post by *Damel »

Hi MVV. Thank you for your sugestion. Its good to see, that you want and need case-sensitive comparing too!

Nice addon, thank you MVV for it! But if [=namecompare.Mark as special equal] is used, then "CASE" is handled the same way as "=", which is not good. It should be handled like "Different".

I still think it should be natively in TC.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Function name Mark as special equal explicitly tells that files will be marked as equal. :)
And, it is possible to show special icon only for equal files (refer to ContentCompareFiles description in WDX API documentation).
User avatar
Damel
Member
Member
Posts: 130
Joined: 2003-02-06, 01:11 UTC
Location: Prague, Czech Republic

Post by *Damel »

Ahhh that make sense to me now, I just overlooked the "equal" word. :) Thank you for the warning and explanation.
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can try Mark as uncompared mode, it will leave files with different name cases with ? instead of equality/inequality signs, and don't forget to enable ignore date option if your files have different dates.
lennart.johansson
Junior Member
Junior Member
Posts: 8
Joined: 2003-12-05, 11:06 UTC

Re: Synchronize Dirs... + Case sensitive Now Really Needed

Post by *lennart.johansson »

We really need a button "case sensitive" in "Synchronize Dirs" because now even Windows 10 NFTS supports case sensitivity in file names!
For use within Windows 10, but of course even more needed when working with Linux files in windows - files that will be used in Linux.
See this text in https://www.howtogeek.com/354220/how-to-enable-case-sensitive-folders-on-windows-10/ :
Windows 10 now offers an optional case-sensitive file system, just like Linux and other UNIX-like operating systems. All Windows processes will handle case-sensitive files and folders properly if you enable this feature. In other words, they’ll see “file” and “File” as two separate files.
How This Works

This is an NTFS file system feature that you can enable on a per-directory basis. It doesn’t apply to your entire file system, so you can just enable case sensitivity for specific folders you use for development purposes.

Case sensitivity was added in Windows 10’s April 2018 Update.
Lennart Johansson
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs... + Case sensitive

Post by *ghisler(Author) »

TC 9.50 supports case sensitivity for files (but not folders) in synchronize dirs now, when the folder is set to case senstive in NTFS.
Author of Total Commander
https://www.ghisler.com
Post Reply