Image.sh
Aus VDR Wiki
(Unterschied zwischen Versionen)
(M) |
|||
Zeile 5: | Zeile 5: | ||
at now <<EOM | at now <<EOM | ||
find "`dirname "${1}"`" -follow -type f \ | find "`dirname "${1}"`" -follow -type f \ | ||
− | + | -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \ | |
− | + | -exec /usr/local/bin/convert.sh '{}' /tmp/image ';' 2>/dev/null | |
EOM</pre> | EOM</pre> |
Version vom 18. August 2004, 17:13 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/convert.sh '{}' /tmp/image ';' 2>/dev/null EOM