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