Re: Detect file change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alan Hoffmeister wrote:
> Em 26/01/2010 10:38, Wade Hampton escreveu:
>> If you know C, you can write a simple program using
>> inotify(7).  For example, you could write a program
>> to continually monitor the directory and pass
>> in the script plus args as a arg.
>>
>> See:  http://www.ibm.com/developerworks/linux/library/l-inotify.html
>>
>>    
> I don't know C... I was looking for a bash script...

If you want to try inotify, rpmforge has inotify-tools rpm. Sample 
scripts in the man pages.


-- 
tkb
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux