On Thu, 12 Aug 2021 10:28:54 -0000 (UTC), Ammammata wrote:
> Il giorno Thu 12 Aug 2021 12:03:17p, *Kerr-Mudd, John* ha inviato su
> alt.msdos.batch il messaggio
>
news:20210812110317.5517...@127.0.0.1. Vediamo cosa ha
> scritto:
>
>> a) Reduce the number of files
>
> no way, right now, it's the history of all issued orders and must be kept
> online for at least 5 years (or more)
>
>> b) ensure John is granted rights by the programs that create the files.
>>
>
> most of those docs (pdf, jpg, etc) are coming from foreign manufacurers, I
> can't help on this: they arrive by mail, are saved on the many users
> computer, first locally, then moved to the "archive"
I'd suggest processing only the newly added files. Use a script/tool to
monitor the folder for any newly created file and put them in a "new files"
or "files to process" list file. Use the list file to process the files. A
list entry should only be removed from the list when it has been
successfully processed without any error. Otherwise, keep it in the list to
be processed later, either at the next occurence of a new file, or with
another script/tool which processes the list file periodically.
For old files... it has to be done the long way. This is to make sure that
old files are already processed.