On Tue, Nov 22, 2011 at 5:22 PM, Sathia S <[email protected]> wrote:
> Hi, > I think, this may be stupid question. > If not so, tell me > whether we can detect when file was saved (any files ext., using any > editor) . like > an event (on save callback). > for using that in shell script. > Like I need to run that script when any file was saved. > > Thanks in advance. > > -- > > ------------------------------------------------------------------------------------------ > Regards > sathia > > Here I share my experiments with open source. > http://www.sathia27.wordpress.com > <http://www.sathia27.wordpress.com/>http://www.lquery.com< > http://www.sathia27.wordpress.com/> > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > inotify is the key. You can register for inotify event whenever a file or folder is modified. When that event occurs do whatever you want. _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
