I have a music directory, in which there are say 200 directories corresponding to different movies. In each movie directory there are some music files.
Now, say a file music_file.mp3 is in folder movie_folder.mp3 . I want to make a shell script such that it renames the file to movie_folder__music_file.mp3 and put it in some folder that I mention to it. Basically, all the files in the subdirectories are to be renamed and to be put in a new directory. Any workaround for this? P.S : This is not for managing my music files, but to have a better insight into the shell scripting. -- l...@iitd - http://tinyurl.com/ycueutm
