Hi guys,
I'm trying to create a script to tell me if there's any file coming into my directory...
So the idea is if there's any file coming to my directory, it will give me the message about this file just came in...
in pseudo code I think I'll get the latest time of directory and if there's any file coming, the directory time will be changed after that I have to print to message to let me know which file just came in.
Anyone can help me with unix code ??
THX in advance
I'm trying to create a script to tell me if there's any file coming into my directory...
So the idea is if there's any file coming to my directory, it will give me the message about this file just came in...
in pseudo code I think I'll get the latest time of directory and if there's any file coming, the directory time will be changed after that I have to print to message to let me know which file just came in.
Anyone can help me with unix code ??
THX in advance