FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-12-2010, 02:13 PM
Patrick O'Callaghan
 
Default bash: how run script when file is put into folger and how parse xml file via bash

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)

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-13-2010, 08:22 AM
Dario Lesca
 
Default bash: how run script when file is put into folger and how parse xml file via bash

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 <d.lesca@solinos.it>

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 09:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org