[H-GEN] Automatic execution of a script/program upon receipt of a file?
Timothy [HiTCHO] Hitchens
tim at hitcho.com.au
Wed Jul 12 23:53:07 EDT 2006
Have a look at magic scripts in Samba docs this might just do the trick.
--
HiTCHO
From: Scott Wilson <siridar at gmail.com>
Date: Thu, 13 Jul 2006 13:44:29 +1000
To: <general at lists.humbug.org.au>
Subject: [H-GEN] Automatic execution of a script/program upon receipt of a
file?
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
Howdy folks,
I was wondering if anyone knew of a tool that, when a file landed in a
directory (specifically, a writeable SMB share) a script could be executed
using the filename as a parameter of the script. The reason why I ask is,
I'd quite like to do batch conversion of video files into a different format
on a headless box - Click-and-drag a video into the share, and a few hours
later, a transcoded/converted version of the file pops out the other end.
So:
1) is it possible?
2) any easy way to implement it?
(btw, the box in question is running ubuntu dapper)
_______________________________________________
General mailing list
General at lists.humbug.org.au
http://lists.humbug.org.au/cgi-bin/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20060713/2603a45c/attachment.html>
More information about the General
mailing list