#!/bin/sh PROGDIR=$(dirname $(readlink -f $0)) find "$1" -type f| while read fname; do $PROGDIR/extractors/ext-audio-mpeg "$fname" done