#!/bin/bash ipodfileindir=$1 mp3dir=$(dirname "$ipodfileindir") find "$mp3dir" -name "*.mp3" -exec create_links.sh {} \;