Image.sh

Aus VDR Wiki
Wechseln zu: Navigation, Suche
#!/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