hi!
i have a dvd full of mp3 organized in \bandname\albumname\files.mp3
now i need a script which walks through this structure and creates in a dir on my hd anonymized links for example: band00x_album00x_00x
i need this for accessing the whole files from MATLAB.
The problem i have is that the directory names on the dvd contain whitespaces.
If i do
for mydir in $(find -type d ); do
cd $mydir
...
done
it doesnt work because $mydir contains only the first silbling of a directory name containing spaces is used. (example dirname:"alice in chains", $mydir only contains "alice")
how do i get the full dirname?
or should i do the whole thing in a other way?
thanks for help
stefan