LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File existing (https://www.linuxquestions.org/questions/linux-newbie-8/file-existing-768608/)

elainelaw 11-12-2009 03:10 AM

File existing
 
In my Redhat system , there are many files will be copy to a directory ( eg. /tmp/ora ) , then the file will be removed by a batch job regularly , so the files may be only exist for a very short time , if I want to log what file have existed in this directory , with the file information eg . creation time , size etc , is it possible to do it ? thx

Agrouf 11-12-2009 03:27 AM

You should install and use the dnotify command. Type 'man dnotify' for more informations.


All times are GMT -5. The time now is 02:32 PM.