I have a network share on my system to which our plotter scanner sends its scanned files. How can I write a script to automatically copy newly added files to another folder?
Open a terminal and run
Control-x, then y to save.
That will sync everything down from
My simplisctic approach would be to keep a list of files in
Script (not tested - just a template):
There are tools that do that for you, like rsync. But maybe you want to add some custom-funtionality.