[ILUG] Watch for new files ?
justin at maccarthy.org
Thu Apr 8 12:28:53 IST 2004
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
More information about the ILUG