[Ilugc] Just want to watch changes in directory.

  • From: narendra.sisodiya@xxxxxxxxx (narendra sisodiya)
  • Date: Sun Sep 20 06:05:05 2009

On Sun, Sep 20, 2009 at 5:40 AM, Girish Venkatachalam <
girishvenkatachalam@xxxxxxxxx> wrote:

On Sun, Sep 20, 2009 at 2:37 AM, narendra sisodiya
"Freedom directory"  -- We will assign one directory for this purpose.
our
daemon will take care for pasting new flies into it. Whenever using put
new
files (like 100+ jpg images from his camera), this will automatically
converted to png images in the backend. This will remove a lot of hurdle
and
time consuming conversion process for a normal user. How is the idea ;)
??

Nothing is unique under the sun. I am poking fun. ;)

Neat idea.

If you don't want inotify there are several triggers possible. I have
done it with
kqueue() on FreeBSD long ago. I stopped using FreeBSD years ago.

You have libevent(3) in linux which can do the same thing I believe.

I think normally hotplugd is used when you plug in a USB camera to
automount
and react in this manner.

Best of luck.

Tata.

-Girish

Thanks but I am trying to code using Gamin which give me fam.h routines.
Got some sample code and now coding. Will revert back after full design.

PS: I think, it is unique in terms to usability point of view. For me it
will be "Freedom Directory" , Put anything init, It will automatically
convert to open standard.

-- 
???????????????????????????
?    Narendra Sisodiya ( ???????? ???????? )
?    Web : http://narendra.techfandu.org
?    Twitter : http://tinyurl.com/dz7e4a
???????????????????????????

Other related posts: