2 parts to this project, can be in a single script or 3 separate scripts. Scripts must run on Ubuntu server as a service (daemon)
1. A piece of equipment produces a pdf file and xml file and transfers them to a specific folder on the server. The xml file needs to be parsed for data such as name, id number, dob. Script then needs to rename the file according to the XML data and move it to a separate folder. The new folder will need to be created if it does not exist.
2. Documents are scanned as pdfs to a specific folder on the server. OCR will nee to read data from the first document. The document will need to be renamed and moved to a separate folder which will need to be created if it does not exist.
3. Documents are scanned to a specific folder on the server and renamed with an id number by a user. The id number will match a separate folder on the, the file will need to be renamed and moved to that folder
4. there will need to be an error folder for file not matched.