bash: how run script when file is put into folger and how parse xml file via bash

Patrick O'Callaghan pocallaghan at
Mon Jul 12 14:13:25 UTC 2010

On Mon, 2010-07-12 at 14:45 +0200, Dario Lesca wrote:
> a) when a file is put into a specific folder (via ftp or http or smb),
> a
> shell script must be automatic run.
> For a) i can use a cron job, but i'm looking for another solution more
> efficient and started only when the file is come ...

Use inotifywait
(yum install inotify-tools)


More information about the users mailing list