Image.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(2.0.0 Konform...)
(Quelle angegeben (soll ja alles seine Ordnung haben) + Kategorie:Scripts)
Zeile 1: Zeile 1:
<pre>#!/bin/sh
+
<pre>
 +
#!/bin/sh
 
#
 
#
 
# pregenerate images in the background, source image plugin
 
# pregenerate images in the background, source image plugin
Zeile 7: Zeile 8:
 
                         -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \
 
                         -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \
 
                         -exec /usr/local/bin/imageplugin.sh '{}' '/tmp/image{}.pnm' 688 544 0 0 0 ';' 2>/dev/null
 
                         -exec /usr/local/bin/imageplugin.sh '{}' '/tmp/image{}.pnm' 688 544 0 0 0 ';' 2>/dev/null
EOM</pre>
+
EOM
 +
</pre>
 +
 
 +
Quelle: Aus den Sourcen des [[image-plugin]]s.
 +
 
 +
[[Kategorie:Scripts]]

Version vom 20. November 2004, 19:03 Uhr

#!/bin/sh
#
# pregenerate images in the background, source image plugin

at now <<EOM
find "`dirname "${1}"`" -follow -type f \
                        -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \
                        -exec /usr/local/bin/imageplugin.sh '{}' '/tmp/image{}.pnm' 688 544 0 0 0 ';' 2>/dev/null
EOM

Quelle: Aus den Sourcen des image-plugins.