Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 0 down vote accepted

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:

  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:

  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:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .