Can any Linux program or command look at filenames and draw our attention to those that might violate some specified standard? I meant a standard we users/admins specify as an overlay on Linux, not a standard within Linux or GNU/Linux (
http://www.gnu.org/software/libc/man...mono/libc.html, [§] 11.2, esp. 11.2.4, as accessed 2-5-08).
For example, Linux permits a hyphen in a filename, including in the leading position, but that can make a filename look like an argument to a command, and therefore, while Linux permits it, an admin might specify a ban on leading hyphens and might want a technical means of preventing filenames from getting leading hyphens and might want a way to catch files coming into a system that weren't restricted by other admins and might have a locally banned character.
In
http://www.ibm.com/developerworks/li...ary/l-sp2.html (as accessed 12-8-07), search for "Linux" to find relevant filename discussions.
This is more than convenience. When I drafted this message, my flash was holding 2,127 files and folders. That's a lot of names to check if I have to check them manually one by one. If I eyeball an average of one per second, I'd lose over 35 minutes and what if I accidentally miss one? I already found one accented letter Win95a allows that Linux replaces in filenames, which would make finding the file or folder harder using Search for Files or equivalent.
I don't want Linux to have restrictions built in. I want each admin to be able to set their own or not set any, as they wish. Not setting any would amount to letting Linux do what it does now, which would be fine for many users. But, if constraints are helpful, posting a written memo to all users isn't enough for consistent adherence, and a technical means would be useful.
Windows has the baggage of Microsoft's business and programming practices, but Windows is out there, and many of us must let the 800-pound gorilla sit wherever it wants. I like Linux's power. I want a way that doesn't reduce its power but that allows compatibility of names with various operating systems and other kinds of rules.
Any ideas?
Thanx.
--
Nick