WIndows 10/11 offers the possiblity of making a folder accept identical filenames with different cases by the use of the command (run it as administrator):Help for Synchronize directories wrote:ø The slashed circle is shown for files which are excluded from sync, e.g. for files which differ only in case like aa.txt and AA.txt.
Code: Select all
fsutil.exe file setCaseSensitiveInfo "directory"
- Download this file: https://tcmd.madsenworld.dk/casetest.zip
- Open casetest.zip and copy the text inside the button.txt file to clipboard.
- Right-click on TC's button bar and choose "Paste" to insert the new button.
- Make a folder C:\test\case\
- Mark the folder C:\test\case\ and click on the newly made button - accept the UAC warning.
- The folder C:\test\case\ can now contain files with the same name but different case in the name.
- Copy the two folders "case" and "noncase" from casetest.zip to the C:\test\
First problem - Sorting in archives:
- Go into C:\test\case\ on the left side and into casetest.zip\case on the right side.
- Make sure the sorting in TC is set to "Natural sorting alphabetical and numbers".
- Sort both sides by Name in the same direction.
- Notice that C:\test\case and casetest.zip\case is sorted the same way. https://tcmd.madsenworld.dk/caseproblems1.png
- Open casetest.zip\case2 in the right side
- Notice that casetest.zip\case2 is sorted in the opposite direction. https://tcmd.madsenworld.dk/caseproblems2.png
The folder case was copied to casetest.zip as a directory, whereas case2 was created with F7, then opened and the files where copied into it.
Second problem - Synchronize directories
- Open C:\test\case\ on the left side and C:\test\noncase on the right side.
- Open Synchronize directories and click Compare. https://tcmd.madsenworld.dk/caseproblems3.png
- Notice how the files are sorted differently in the Sync dialog and in the left side of TC's main window.
- Notice that TC unexpectedly suggests to copy left testfile.txt to right testFile.txt *
- Notice that TC suggest to copy the other files from left to right, even though that is not possible - the files should have been marked with a red ø
* If I remove the green suggesions and run the Synchronization, then the file C:\test\noncase\testFile.txt is actually correctly copied to C:\test\case\testFile.txt - although it was sugested by TC to be copied to C:\test\case\testfile.txt
. - Close the Synchronize dialog and press Ctrl+U to switch the two panels.
- Open Synchronize directories and click Compare. https://tcmd.madsenworld.dk/caseproblems4.png
- Notice how the files are sorted differently in the Sync dialog and in the right side of TC's main window.
- This time TC correctly suggests to copy left file testFile.txt to right file testFile.txt
- Notice that TC suggest to copy the other files from right to left, even though that is not possible - the files should have been marked with a red ø
Third problem - Synchronize directories - FTP
- Close the Synchronize dialog.
- Open an FTP connection in the left panel.
- Make a "case" directory on the FTP side.
- Copy the files from C:\test\case to the case folder on the FTP side.
- Open C:\test\noncase in the right panel.
- Open Synchronize directories and click Compare. https://tcmd.madsenworld.dk/caseproblems5.png
- Notice how the files are sorted differently in the Sync dialog and in the left side of TC's main window.
- Notice that the file testFile.txt is correctly suggested copied from right to left.
- Notice that the rest of the files are correctly marked with a red ø because C:\test\noncase does not support multi-case filenames.
. - Close the Synchronize dialog and press Ctrl+U to switch the two panels.
- Open Synchronize directories and click Compare. https://tcmd.madsenworld.dk/caseproblems6.png
- Notice how the files are sorted differently in the Sync dialog and in the right side of TC's main window.
- Notice that the file testFile.txt is correctly suggested copied from left to right.
- Notice that the rest of the files are correctly marked with a red ø because C:\test\noncase does not support multi-case filenames.
. - Close the Synchronize dialog
- Open C:\test\case in the left size
- Open Synchronize directories and click Compare. https://tcmd.madsenworld.dk/caseproblems7.png
- All the files correctly compare the same.
- change the FTP time offset to 2 hour and click Compare again. https://tcmd.madsenworld.dk/caseproblems8.png
- Notice that all the files are correctly suggested copied from right to left. No red ø because C:\test\case supports multi-case files.
EDIT:
Maybe there is nothing that can be done to the sorting problems, but it would be good if the Sync. problems with showing wrong copy suggestions could be solved.
Windows Explorer sorts the same way as TC's Reversed Name sorting, and changing Name sort direction in Explorer has no effect for these files. https://tcmd.madsenworld.dk/caseproblems9.png
Also the DIR command shows peculiar sorting. Sorting with DIR /ON and DIR/O-N should be reversed but is not (though different). Using DIR without parameters sorts like TC's Reversed Name sorting. https://tcmd.madsenworld.dk/caseproblems10.png
Changing TC's "Sort method" is without any effect for these filenames.