Good day to all. Need at the same time advice on the design of the application and specific assistance.
The task is to clear the metadata before sending for different types of files. Office documents, photos, pdf, etc.
The essence of the application is this - a windows-service rises, which monitors the appearance of files in a folder, processes receipts and transfers the file without metadata to the resulting folder. All is required to be deleted altogether, which can be deleted and / or replaced with empty values.
The self-written variant of extracting and deleting exif / xmp-metadata stumbles upon a huge amount of them, so I was now given exiftool ( https://sno.phy.queensu.ca/~phil/exiftool/ ) and told to work from it. This is a console application written in Perl. For it, there are wrappers in .Net (ProcessStartInfo + Process), but there are some problems.
Question 1 - is it normal to create a console application for each new file (they can be unlimitedly cast into the monitoring folder), or are there any basic rules that are better taken into account. How generally do we allow the console to call from the service and are there any pitfalls?
Question 2 - manual application launch from the windows console uses the console coding, therefore exiftool.exe perfectly recognizes files with Russian letters in the name. How to keep this behavior when wrapping a console call? The -charset filename = CHARSET option stated in the documentation did not help.
Question 3 - if there are exiftool alternatives that allow not only to read the metadata, but also to change them - I will be glad to any direction.