[ILUG] Watch for new files ?
Justin MacCarthy
justin at maccarthy.org
Thu Apr 8 12:28:53 IST 2004
Here you go
man watch or dnotify
or
http://www.webpronews.com/it/operatingsystems/wpn-22-20031201MonitoringFileo
rDirectoryChanges.html
Justin
-----Original Message-----
From: ilug-bounces at linux.ie [mailto:ilug-bounces at linux.ie]On Behalf Of
Declan Grady
Sent: 08 April 2004 12:19
To: ilug at linux.ie
Subject: [ILUG] Watch for new files ?
Hi,
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
they
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
some
way to add in a background image (company logo) to the pdf ?
Preferably something 'easy' that my perpetual newbieness can cope with !
Thanks,
Declan
--
Irish Linux Users' Group
http://www.linux.ie/mailman/listinfo/ilug/
More information about the ILUG
mailing list