Image.sh

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
(M)
Zeile 1: Zeile 1:
#!/bin/sh
+
<pre>#!/bin/sh
#
+
#
# pregenerate images in the background, source image plugin
+
# pregenerate images in the background, source image plugin
  
at now <<EOM
+
at now <<EOM
find "`dirname "${1}"`" -follow -type f \
+
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
+
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