Ubuntu: How I copied my music collection to one folder
Thursday, January 22nd, 2009I had some trouble findig out how to copy all files from all subdirectories of my music collection into one folder. The reason why I want to do this is to be able to play my music on a Playstation 3. I am presently a happy Ubuntu-user (Ubuntu 8.04 or “Hardy Heron”), and it took me some time to find a solution in the Ubuntu Forums:
Open bash (a terminal) and type:
find /music/path -type f -print0 | xargs -0 -I {} cp "{}" /desitination/path/ --verbose
You must obviously adapt “/music/path” and “/desitination/path/” to your needs. Please don’t ask me to explain the details of this command… (If you are moving your collection to a PS3 then you’ll have to copy all music files to one folder “MUSIC” on an external harddisk or USB pen drive. Then your PS3 will discover the music when the disk is attached to its USB-port.)
It turned out that my CWA 854-repeater (from CNet) had been mounted a year without repeating anything. Why? I don’t know, the settings turned out to be all right.