Here you go
man watch or dnotify
From: ilug-bounces at linux.ie [mailto:ilug-bounces at linux.ie]On Behalf Of
Sent: 08 April 2004 12:19
To: ilug at linux.ie
Subject: [ILUG] Watch for new files ?
Is there an easy way to watch a specific directory for the creation of new
files, and then run some script to report on these new files ?
The idea is to watch an nfs mounted directory for spoolfiles, and then if
match certain criteria (if they contain specific strings) take them and make
pdfs, and email them to the creator or a specific address.
Also, I'm using a2ps to make ps and then pdfs form ascii files - Is there
way to add in a background image (company logo) to the pdf ?
Preferably something 'easy' that my perpetual newbieness can cope with !
Irish Linux Users' Group
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!