Not so hard, just one command:
- Code: Select all
find . -iname front_\*.jpg -type f -printf "\"ln -s '%f' '%h/front.jpg'\"\n" | xargs -l bash -c
Open a terminal on the music directory, and run it from there. It will find all the files beginning with front_ and ending in .jpg (case-insensitive, make it -name instead of -iname to make it a case-sensitive search). At the directory where it found those it will create a symbolic link to each and call it front.jpg. If you are in doubt, first only run the first part:
- Code: Select all
find . -iname front_\*.jpg -type f -printf "\"ln -s '%f' '%h/front.jpg'\"\n"
It will give you a list of all the commands it will run to create the symbolic links.
Hack on
