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

2010-07-13 Thread Dario Lesca
Il giorno lun, 12/07/2010 alle 14.45 +0200, Dario Lesca ha scritto: > Someone can show me, if exist, more better solution for a) and b)? Thank to all, now I have a place to start. -- Dario Lesca -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options

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

2010-07-12 Thread Bruno Wolff III
On Mon, Jul 12, 2010 at 14:45:32 +0200, Dario Lesca wrote: > > b) the file is a simple xml and I must parser it and convert it to a csv > file with bash script. > > For b) now I use grep+sed+awk, but I'm looking for a best and more solid > method for extract only some specific field from the f

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

2010-07-12 Thread Patrick O'Callaghan
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

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

2010-07-12 Thread Dario Lesca
hi, I'm looking for a method for do this thing: a) when a file is put into a specific folder (via ftp or http or smb), a shell script must be automatic run. b) the file is a simple xml and I must parser it and convert it to a csv file with bash script. For a) i can use a cron job, but i'm lookin