Compare Files and Directory "Case sensitive"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyUser
    Visitor
    • Aug 2009
    • 4

    Compare Files and Directory "Case sensitive"

    Hello :-)

    How can I compare directories and/or files with not exact name, for example
    comparing the two directories "C:\FileS\" with "D:\Files\".

    But BC shows no difference...

    My Session Setting:
    Compare filename case: checked

    I use Version 3.1.6 Build 10721.

    Tnx a lot
    :-)
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

    #2
    Hello,

    Compare filename case currently only supports file names, and not folder names. If the files align, and the case is different, it will then show as a difference.

    If folders are detected as having different names (on Linux systems, case is considered an Important difference), then the two folders don't align and are treated as different names; since on a Linux system you can have Files and FileS in the same directory.
    Aaron P Scooter Software

    Comment

    • hamigaki
      New User
      • Sep 2009
      • 2

      #3
      BC2 supported to detect Folder Case sensitive. then we have confuse the different behavior.

      Do you have the plan for supporting Folder Case sensitive option on BC3 ?

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16000

        #4
        Hello Hamigaki,

        This is now controlled by the host OS. If you are running on Windows, Windows explorer considers the name the same; on Linux they are considered different.

        Could you go into more detail on your workflow and how foldername case comparison helps you specifically?
        Aaron P Scooter Software

        Comment

        • Pete
          Fanatic
          • Nov 2007
          • 190

          #5
          Originally posted by Aaron
          Could you go into more detail on your workflow and how foldername case comparison helps you specifically?
          Yes, because I change the case of some words in folder names. Because BC ignores case, it doesn't backup these new folder names during syncing, thus I lose all my effort when I restore from backup.

          It's not a matter of whether Windows cares about case. It's a matter of BC users caring about case, and isn't this more important? Frankly I don't understand all the resistance to fixing this.

          Comment

          • Zoë
            Team Scooter
            • Oct 2007
            • 2666

            #6
            Originally posted by Pete
            Frankly I don't understand all the resistance to fixing this.
            Pete,

            I already gave the reasons for the "resistance" in the Comparing filename case feedback thread. To reiterate, BC compares files within folders, not the folders themselves, and adding such support will be a substantial change that may introduce subtle bugs. I completely agree that it's better for the "Compare filename case" option to affect folders as well, and I would like to do it, but there are other enhancements that have significantly higher priority right now.

            Aaron was just asking for additional details to flesh out the enhancement request with additional use cases, which may boost its priority.
            Zoë P Scooter Software

            Comment

            • hamigaki
              New User
              • Sep 2009
              • 2

              #7
              We have been using BeyondCompare with Version control system.

              Next following is our work flow.

              1. Make diff report between current source tree and new given source tree.
              2. Check file and folder case sentive.
              3. If we found the diffarent Case sensitive. we had to adjust case of givin source code.
              4. do imoprt oparation.

              If we cannot found folder case sensitive, Version control system recoginize the folder as new element...

              We strong want to make correct diff information for report only...

              now We need to both (bc2,3) version for our oparation step...

              Comment

              • chrisjj
                Carpal Tunnel
                • Apr 2008
                • 2537

                #8
                > This is now controlled by the host OS.

                OOI, what about snapshots? Do they record the host OS?

                Comment

                • Aaron
                  Team Scooter
                  • Oct 2007
                  • 16000

                  #9
                  The Linux version currently does not consider folder case for snapshots. It is on our wishlist to add this functionality.

                  So whether you transfer the snapshot from linux or to linux, it does not treat case as important in the current version.
                  Aaron P Scooter Software

                  Comment

                  • chrisjj
                    Carpal Tunnel
                    • Apr 2008
                    • 2537

                    #10
                    Um, is that a yes or a no, please?

                    Comment

                    • Aaron
                      Team Scooter
                      • Oct 2007
                      • 16000

                      #11
                      I'm not sure. If it is or isn't, it currently does not have an impact on how the snapshot is presented and is something we would like to handle in a future version. If the information is recorded, how would you expect it to be handled?
                      Aaron P Scooter Software

                      Comment

                      • chrisjj
                        Carpal Tunnel
                        • Apr 2008
                        • 2537

                        #12
                        > I'm not sure.

                        OK, thanks.

                        > If it is or isn't, it currently does not have an impact on how the snapshot is
                        > presented

                        Good!

                        > and is something we would like to handle in a future version.

                        Hmm...

                        > If the information is recorded, how would you expect it to be handled?

                        With care! I don't want hidden properties varying the BC interpretation of an ostensibly WYSIWYG record.

                        Comment

                        • Zoë
                          Team Scooter
                          • Oct 2007
                          • 2666

                          #13
                          Originally posted by chrisjj
                          Um, is that a yes or a no, please?
                          No, snapshots do not currently record the host OS. They are always considered case-insensitive.
                          Zoë P Scooter Software

                          Comment

                          • chrisjj
                            Carpal Tunnel
                            • Apr 2008
                            • 2537

                            #14
                            > No, snapshots do not currently record the host OS.

                            Thanks.

                            > They are always considered case-insensitive.

                            I don't understand how a document can be case insensitive. Is this to say any comparision with a shapshot is case insensitive? Even on an OS which is case sensitive?

                            Comment

                            • Zoë
                              Team Scooter
                              • Oct 2007
                              • 2666

                              #15
                              Yes. Comparing against a snapshot is effectively the same as comparing against a directory on a FAT drive. The alignment will be case-insensitive. If you save a snapshot of a directory with files that differ only in case the snapshot itself will store the files properly, but it will only show one of the files when you load it.
                              Zoë P Scooter Software

                              Comment

                              Working...