|
Using 'ls' to get full path listing for mp3gain
Hi,
I am trying to get mp3gain to process all my mp3 files which are in various directories in /mnt/hda1/music
I want to use somthing like:
mp3gain -k -T -p `ls -R /mnt/hda1/music`
I am looking for a way to get a full path listing of every file including sub directories.
if I use:
ls -R /mnt/hda1/music
I get:
/mnt/hda1/music/u2/The Joshua Tree:
U2 - Bullet The Blue Sky.mp3
U2 - Exit.mp3
U2 - In God's Country.mp3
I need:
/mnt/hda1/music/u2/The Joshua Tree/U2 - Bullet The Blue Sky.mp3
/mnt/hda1/music/u2/The Joshua Tree/U2 - Exit.mp3
/mnt/hda1/music/u2/The Joshua Tree/U2 - In God's Country.mp3
....etc
I may need to use a script of some sort.
If you have any suggestions please respond.
Thanks
Sygin
|