I'm trying to use Cygwin to re-organize my music folder. Currently it's in iTunes format
{Artist}/{Album}/Song ##.mp3
I want to copy the album folders up to the parent folder and add the artist name, so
~/{Artist}/{Album}
becomes ~/{Artist} - {Album}
but I am having trouble writing a script that works. Tried this:
for i in ~/music/*; { mv $i ~/'basename - $i';}
to no avail. Any help? Thanks!