I have several folders like /music/1/a.mp3
and /music/2/b.mp3
All of the file names themselves are guaranteed to be different.
Is there a way, probably using the Terminal, to copy these files to /musicTemp/
excluding the folders?
In other words, the result of the two examples above should be:
/music/1/a.mp3
/music/2/b.mp3
into:
/musicTemp/a.mp3
/musicTemp/b.mp3
find /music -name "*.mp3" -type file -exec mv {} /destination_dir \;
cp
notmv
. Otherwise that should work.