scanscript.sh
author Stiletto <blasux@blasux.ru>
Sat, 12 Feb 2011 15:10:08 +0300
changeset 3 38269b62d856
child 5 981be8773be7
permissions -rwxr-xr-x
colon fix, scanscript
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     1
#!/bin/sh
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     2
PROGDIR=$(dirname $(readlink -f $0))
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     3
find "$1" -type f| while read fname; do
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     4
    $PROGDIR/extractors/ext-audio-mpeg "$fname"
38269b62d856 colon fix, scanscript
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     5
done