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 software that can check for filenames in a certain folder. So that there wouldn't be any error when trying to burn those files into a dvd or any optical media. I always burn different kinds of files for my collection and often times I get a file rename error when using nero. Do those files still get burned to the disc even if I get those errors? Is there a separate tool for nero or other application to check for the filenames before burning them to disc. It really sucks when an application tells you that theres an error if you have already burned the files to the disc. I want to know which files should be renamed before I even burn them so that I won't be wasting anything

share|improve this question
Could you elaborate on what you mean by a "file rename error?" – Zian Choy Oct 28 '10 at 5:46
By "file name error", do you mean "long file names" or "invalid characters" that may be in file names? – Mehper C. Palavuzlar Oct 28 '10 at 7:09
What filesystem are you putting on the DVD? (ISO 9660, 9660+RockRidge, 9660+Joliet, and UFS are the main possibilities.) And what operating system are you using? – Gilles Oct 28 '10 at 23:48
@giless:iso 9660, @mehper:yep.does it get burned to the disc even if I get those errors? – soul Oct 29 '10 at 13:02
up vote 2 down vote accepted

You don't mention your operating system, so I'll give a solution using POSIX tools, since they're available for every major operating system. They're available on all unix-like systems, but you have to install them separately on Windows (Microsoft's Services for Unix, Cygwin, GNU Win32 utilities, Msys, ...).

The find command¹ looks in a directory and its subdirectories recursively for files matching certain criteria. For example, the following command shows files under the current directory whose name contain one of the characters :, ; or ", or than are more than 64 characters long.

find . -name '*[:;"]*' -o -name '?????????????????????????????????????????????????????????????????*'

¹ The POSIX one. Windows has an unrelated command with the same name.

share|improve this answer
I feel pain... find . -name '*[:;"]*' -o -regex '.{64,}' – Hello71 May 14 '11 at 1:55

You must log in to answer this question.

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