Possible to write a script that verifies filenames?
Hello everyone,
I am currently in the process of building a nomenclature for all the different types of documents we handle at my office (people's inability to name things at least somewhat consistently being the cause), and while I am under the impression that there is no way of directly restricting filenames, I was hoping that someone could point me in the direction of writing a script that at least checks the general filename. Ideally, the goal is to have the job end in an email to the user and myself notifying both that the file they just tried to place on the server does not match naming criteria; we have a system set up in our company portal but that was written in PHP and I don't know of any way to translate that into applescript, bash, etc (syntax and protocols being different). Is this even a possibility or am I flirting with the impossible? Thanks to everyone for your time and assistance.