Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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: 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.