I am very new to Shell Scripting. I have a directory, say "Input". Once in a while, a file(let's say test.csv) comes to this directory(Using SFTP).
I want to execute another command based on the file availability.
For example, whenever the "Input" directory contains the test.csv file, a curl command needs to be executed and the file will be moved to a archive directory. The process should be always running in production.
Thanks in advance.
Regards, Jee