Displaying 1 result from an estimated 1 matches for "openw".
Did you mean:
open
2001 Nov 06
1
rsync for realtime filesystem replication.
...userspace daemon which can take arbitray shell action on files
matching regexp rules specified in a config file.
E.G., to configure a "hot folder" that would automatically convert .jpg's to
.pngs, I'd define a rule like follows:
RULE ^/export/home/image-converter.*\.jpg$
OPENW /usr/bin/convert _FILE_ `dirname _FILE_`/`basename _FILE_ .jpg`.png
I can use it currently for sorta "hacked' realtime replication with rsync, by
defining a command line rsync as the action for a given rule. However, this
is inefficient, as it leads to repeated exec's for file act...