How to compare files with partially matching file names? (tools/software?)












2















Is there a tool/software to do this?



I use Beyond Compare and am advised that the regex features it provides might make this possible, but I've not seen a working solution yet.



Background, I'm attempting to compare files with long names on a hard disk with those written to DVD with UDF1.02, which truncates the length to comply with the length in this standard. I don't wish to use a later standard that relaxes this length.










share|improve this question





























    2















    Is there a tool/software to do this?



    I use Beyond Compare and am advised that the regex features it provides might make this possible, but I've not seen a working solution yet.



    Background, I'm attempting to compare files with long names on a hard disk with those written to DVD with UDF1.02, which truncates the length to comply with the length in this standard. I don't wish to use a later standard that relaxes this length.










    share|improve this question



























      2












      2








      2








      Is there a tool/software to do this?



      I use Beyond Compare and am advised that the regex features it provides might make this possible, but I've not seen a working solution yet.



      Background, I'm attempting to compare files with long names on a hard disk with those written to DVD with UDF1.02, which truncates the length to comply with the length in this standard. I don't wish to use a later standard that relaxes this length.










      share|improve this question
















      Is there a tool/software to do this?



      I use Beyond Compare and am advised that the regex features it provides might make this possible, but I've not seen a working solution yet.



      Background, I'm attempting to compare files with long names on a hard disk with those written to DVD with UDF1.02, which truncates the length to comply with the length in this standard. I don't wish to use a later standard that relaxes this length.







      beyondcompare






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 29 '14 at 17:10









      Der Hochstapler

      67.7k49230284




      67.7k49230284










      asked May 3 '11 at 8:20









      therobyouknowtherobyouknow

      2,221134782




      2,221134782






















          2 Answers
          2






          active

          oldest

          votes


















          0














          There are four five possible solutions:




          1. Truncate the files to a length within UDF1.02 standard, e.g. use a script to automate this, do it intelligently, i.e. append an incrementing an index number to the file if the same filename exists from a previous truncation. Remembering to ensure that appending the index number still keeps the overall file length within the standard. This is a possible solution but I would have to be aware of files that reference other files e.g. html, the references within files would be broken if the filename is truncated.


          2. Use a later UDF standard. Not favourite as UDF1.02 is most broadly compatible, lowest common denominator


          3. There is a beyond compare thread that discusses use of regex within the tool but the thread has not been concluded to provide a solution that definitely works yet:
            http://www.scootersoftware.com/vbulletin/showthread.php?p=29639


          4. Use MindGems Fast Duplicate File Finder to compare 2 folders and set the config so that one of the folders is excluded from having its duplicates automarked, this means that the other folder can have its duplicates marked (and removed) leaving just the files not in the first folder: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-FAQ.htm#EXCLUDE_FOLDER_FROM_AUTOMARK


          5. EDIT - new: Turn off unicode in UDF if only ascii needed. This doubles the available characters so truncation situations will be reduced or eliminated. unicode off is still a valid option for the UDF standard, including UDF1.02, apparently: http://forum.imgburn.com/index.php?showtopic=17822&st=0&p=131270&#entry131270







          share|improve this answer

































            0














            Go to Session -> Session Settings (select the tab Misc) and set the Alignment Override pattern according to your requirement.



            left side
            leftunmatchname



            Right side
            rightunmatchname



            Example of comparing file with partially matching name:



            enter image description here






            share|improve this answer

























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f278402%2fhow-to-compare-files-with-partially-matching-file-names-tools-software%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              There are four five possible solutions:




              1. Truncate the files to a length within UDF1.02 standard, e.g. use a script to automate this, do it intelligently, i.e. append an incrementing an index number to the file if the same filename exists from a previous truncation. Remembering to ensure that appending the index number still keeps the overall file length within the standard. This is a possible solution but I would have to be aware of files that reference other files e.g. html, the references within files would be broken if the filename is truncated.


              2. Use a later UDF standard. Not favourite as UDF1.02 is most broadly compatible, lowest common denominator


              3. There is a beyond compare thread that discusses use of regex within the tool but the thread has not been concluded to provide a solution that definitely works yet:
                http://www.scootersoftware.com/vbulletin/showthread.php?p=29639


              4. Use MindGems Fast Duplicate File Finder to compare 2 folders and set the config so that one of the folders is excluded from having its duplicates automarked, this means that the other folder can have its duplicates marked (and removed) leaving just the files not in the first folder: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-FAQ.htm#EXCLUDE_FOLDER_FROM_AUTOMARK


              5. EDIT - new: Turn off unicode in UDF if only ascii needed. This doubles the available characters so truncation situations will be reduced or eliminated. unicode off is still a valid option for the UDF standard, including UDF1.02, apparently: http://forum.imgburn.com/index.php?showtopic=17822&st=0&p=131270&#entry131270







              share|improve this answer






























                0














                There are four five possible solutions:




                1. Truncate the files to a length within UDF1.02 standard, e.g. use a script to automate this, do it intelligently, i.e. append an incrementing an index number to the file if the same filename exists from a previous truncation. Remembering to ensure that appending the index number still keeps the overall file length within the standard. This is a possible solution but I would have to be aware of files that reference other files e.g. html, the references within files would be broken if the filename is truncated.


                2. Use a later UDF standard. Not favourite as UDF1.02 is most broadly compatible, lowest common denominator


                3. There is a beyond compare thread that discusses use of regex within the tool but the thread has not been concluded to provide a solution that definitely works yet:
                  http://www.scootersoftware.com/vbulletin/showthread.php?p=29639


                4. Use MindGems Fast Duplicate File Finder to compare 2 folders and set the config so that one of the folders is excluded from having its duplicates automarked, this means that the other folder can have its duplicates marked (and removed) leaving just the files not in the first folder: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-FAQ.htm#EXCLUDE_FOLDER_FROM_AUTOMARK


                5. EDIT - new: Turn off unicode in UDF if only ascii needed. This doubles the available characters so truncation situations will be reduced or eliminated. unicode off is still a valid option for the UDF standard, including UDF1.02, apparently: http://forum.imgburn.com/index.php?showtopic=17822&st=0&p=131270&#entry131270







                share|improve this answer




























                  0












                  0








                  0







                  There are four five possible solutions:




                  1. Truncate the files to a length within UDF1.02 standard, e.g. use a script to automate this, do it intelligently, i.e. append an incrementing an index number to the file if the same filename exists from a previous truncation. Remembering to ensure that appending the index number still keeps the overall file length within the standard. This is a possible solution but I would have to be aware of files that reference other files e.g. html, the references within files would be broken if the filename is truncated.


                  2. Use a later UDF standard. Not favourite as UDF1.02 is most broadly compatible, lowest common denominator


                  3. There is a beyond compare thread that discusses use of regex within the tool but the thread has not been concluded to provide a solution that definitely works yet:
                    http://www.scootersoftware.com/vbulletin/showthread.php?p=29639


                  4. Use MindGems Fast Duplicate File Finder to compare 2 folders and set the config so that one of the folders is excluded from having its duplicates automarked, this means that the other folder can have its duplicates marked (and removed) leaving just the files not in the first folder: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-FAQ.htm#EXCLUDE_FOLDER_FROM_AUTOMARK


                  5. EDIT - new: Turn off unicode in UDF if only ascii needed. This doubles the available characters so truncation situations will be reduced or eliminated. unicode off is still a valid option for the UDF standard, including UDF1.02, apparently: http://forum.imgburn.com/index.php?showtopic=17822&st=0&p=131270&#entry131270







                  share|improve this answer















                  There are four five possible solutions:




                  1. Truncate the files to a length within UDF1.02 standard, e.g. use a script to automate this, do it intelligently, i.e. append an incrementing an index number to the file if the same filename exists from a previous truncation. Remembering to ensure that appending the index number still keeps the overall file length within the standard. This is a possible solution but I would have to be aware of files that reference other files e.g. html, the references within files would be broken if the filename is truncated.


                  2. Use a later UDF standard. Not favourite as UDF1.02 is most broadly compatible, lowest common denominator


                  3. There is a beyond compare thread that discusses use of regex within the tool but the thread has not been concluded to provide a solution that definitely works yet:
                    http://www.scootersoftware.com/vbulletin/showthread.php?p=29639


                  4. Use MindGems Fast Duplicate File Finder to compare 2 folders and set the config so that one of the folders is excluded from having its duplicates automarked, this means that the other folder can have its duplicates marked (and removed) leaving just the files not in the first folder: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-FAQ.htm#EXCLUDE_FOLDER_FROM_AUTOMARK


                  5. EDIT - new: Turn off unicode in UDF if only ascii needed. This doubles the available characters so truncation situations will be reduced or eliminated. unicode off is still a valid option for the UDF standard, including UDF1.02, apparently: http://forum.imgburn.com/index.php?showtopic=17822&st=0&p=131270&#entry131270








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 8 '11 at 23:01

























                  answered May 3 '11 at 17:59









                  therobyouknowtherobyouknow

                  2,221134782




                  2,221134782

























                      0














                      Go to Session -> Session Settings (select the tab Misc) and set the Alignment Override pattern according to your requirement.



                      left side
                      leftunmatchname



                      Right side
                      rightunmatchname



                      Example of comparing file with partially matching name:



                      enter image description here






                      share|improve this answer






























                        0














                        Go to Session -> Session Settings (select the tab Misc) and set the Alignment Override pattern according to your requirement.



                        left side
                        leftunmatchname



                        Right side
                        rightunmatchname



                        Example of comparing file with partially matching name:



                        enter image description here






                        share|improve this answer




























                          0












                          0








                          0







                          Go to Session -> Session Settings (select the tab Misc) and set the Alignment Override pattern according to your requirement.



                          left side
                          leftunmatchname



                          Right side
                          rightunmatchname



                          Example of comparing file with partially matching name:



                          enter image description here






                          share|improve this answer















                          Go to Session -> Session Settings (select the tab Misc) and set the Alignment Override pattern according to your requirement.



                          left side
                          leftunmatchname



                          Right side
                          rightunmatchname



                          Example of comparing file with partially matching name:



                          enter image description here







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Dec 29 '18 at 12:01









                          Pierre.Vriens

                          1,24561218




                          1,24561218










                          answered Dec 29 '18 at 11:36









                          Anubhav JainAnubhav Jain

                          12




                          12






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f278402%2fhow-to-compare-files-with-partially-matching-file-names-tools-software%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Сан-Квентин

                              Алькесар

                              Josef Freinademetz