# Check if a mp3 file with the same name already exists in mp3 directory, if so, output a message and skip if [ -f "./mp3/${filename%.*}.mp3" ]; then echo "File ./mp3/${filename%.*}.mp3 already exists ...