Image.sh
Aus VDR Wiki
(Unterschied zwischen Versionen)
(2.0.0 Konform...) |
|||
Zeile 6: | Zeile 6: | ||
find "`dirname "${1}"`" -follow -type f \ | find "`dirname "${1}"`" -follow -type f \ | ||
-name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \ | -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \ | ||
− | -exec /usr/local/bin/ | + | -exec /usr/local/bin/imageplugin.sh '{}' '/tmp/image{}.pnm' 688 544 0 0 0 ';' 2>/dev/null |
EOM</pre> | EOM</pre> |
Version vom 20. August 2004, 22:09 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