Linux script: monitoring directories.
Posted on 2010-11-10
I am not a linux scripting guy, therefore I need to know how to do the following steps in a linux script.
Files are daily uploaded to a directory “UploadDir”, it could be one, two or three new files, the script will automatically knows about the new files and move only the new files to a queue directory “QueueDir” with a sequence number so I can process one file at a time by first moving it to another directory “ProcessingDir”. I need this to happen dynamically.
Thanks a lot.