#!/bin/bash
#
cd /mnt/nvme/mp3
#
#One example is to use a simple "for" loop:
#rm *.ogg /y
#
#mkdir musicasmp3

for file in *.mp3 *.aac *.ogg *.wav *.ac3 *.m4a;
#for file in *.mp3;
   do
aa=$(echo "$file" | cut -d '.' -f1)

#     aa=`echo "./musicasmp3/${file/%%/ogg}"`
#     aa=`echo "./ogg/${file/%mp3/ogg}"`
    echo $aa
#    sleep 1
#     ffmpeg -i "${file}" -acodec libvorbis "./ogg/${file/%mp3/ogg}";
done
