On Fri, Feb 12, 2010 at 2:37 PM, amit <[email protected]> wrote: > hi everybody > > i want to make script that can run automatically (without even writing > its command in the terminal) with the occurance of new file creation > in some folder. > > is it feasible? i have googled it but not able to find the answer. > > plz help me > > > Amit Jain > 3rd Year > It
You need to understand how you can use FAM.h Well, please do study my small code -- http://code.google.com/p/freedombucket/source/browse/trunk/test.cpp -- , Whenever if find a new file it execute a command over it. All you need to change line number 201 with shell script with passing file name fe->Filename as argument. PS: you can come to me for understanding this code. I will not charge much. just 5000 INR/hour :) -- ┌─────────────────────────┐ │ Narendra Sisodiya ( नरेन्द्र सिसोदिया ) │ Society for Knowledge Commons │ Web : http://narendra.techfandu.org └─────────────────────────┘ -- l...@iitd - http://tinyurl.com/ycueutm
