#!/usr/bin/bash

praefix='mp3';
tmpdir='/tmp';
tmpfile='find_music_temp'.$$
full_tmpfile=$tmpdir/$tmpfile
pwd=`pwd`

find $1 -type f -iname \*.$praefix -print > $full_tmpfile;