Koozali.org: home of the SME Server

How/what to use to monitor file changes in a directory?

Craig Bursey

How/what to use to monitor file changes in a directory?
« on: August 14, 2002, 05:44:16 PM »
Hi folks,

In my ongoing saga to make my own PS -> PDF conversion system I need a bit of help.  I know it's possible because there are numerous web based sites offering this service.

What software/script/process would I use to monitor a directory for file additions? When new files are added I then want to feed this file into a script that would perform the PDF conversion and then moved the file to another directory.  This is how the existing online systems do it.

I've scoured the web high and low with no success and have asked a few sites for assistance but they don't want to share.  :-(

I've found the windows tools but I don't want to use no stinking Windows!!  ha ha

Thnaks for any assistance, pointing in the right direction, URL's.

Craig

Harro Bruins

Re: How/what to use to monitor file changes in a directory?
« Reply #1 on: August 14, 2002, 06:01:25 PM »
Stop the search,

Send me your e-mail and I will inform you when DiffScan is ready, a friend of me is working hard on such a tool.

Regards, Harro

Craig Bursey

Re: How/what to use to monitor file changes in a directory?
« Reply #2 on: August 14, 2002, 07:00:21 PM »
Harro,

Yes, I would be interested in suck a tool.   My e-amil address is: Craig.Bursey@pwgsc.gc.ca.    I tried sending you an e-mail but it bounced back.

Thannks,

Craig

Charlie Brady

Re: How/what to use to monitor file changes in a directory?
« Reply #3 on: August 14, 2002, 07:19:40 PM »
Craig Bursey wrote:

> What software/script/process would I use to monitor a
> directory for file additions?

http://oss.sgi.com/projects/fam/
http://freshmeat.net/projects/fam/

 FAM
 by Tushar - Monday, February 18th 2002 17:11 EDT

About:
FAM, the File Alteration Monitor, provides an API which applications can use to be notified when specific files or directories are changed. It comes in two parts: fam, the daemon which listens for requests and delivers notification, and libfam, a library which client applications can use to communicate with fam.

Author:
SGI Open Source

Craig Bursey

Re: How/what to use to monitor file changes in a directory?
« Reply #4 on: August 16, 2002, 06:01:28 AM »
Thanks Charlie............appreciate it.