Is there a way to copy all the files that are nested inside other folders to a new location?
This is what I am trying to do:
/iTunes/iTunes Music/Artist A/song 1
/iTunes/iTunes Music/Artist A/song 2
/iTunes/iTunes Music/Artist C/song 4
/iTunes/iTunes Music/Artist B/song 2
....
I want to copy all the files to an external drive but in a way only the files are copied and none of the folder structures are preserved, i.e.
instead of
Artist A/song 1
Artist A/song 2
Artist C/song 4
Artist B/song 2
I get
song 1
song 2
song 4
song 2
I think I can do this in term with mv, but I am unsure how to do that...also is there an easier way to do it? In Windows I can achieve this with xcopy but not sure how to do it in OSX.
This is what I am trying to do:
/iTunes/iTunes Music/Artist A/song 1
/iTunes/iTunes Music/Artist A/song 2
/iTunes/iTunes Music/Artist C/song 4
/iTunes/iTunes Music/Artist B/song 2
....
I want to copy all the files to an external drive but in a way only the files are copied and none of the folder structures are preserved, i.e.
instead of
Artist A/song 1
Artist A/song 2
Artist C/song 4
Artist B/song 2
I get
song 1
song 2
song 4
song 2
I think I can do this in term with mv, but I am unsure how to do that...also is there an easier way to do it? In Windows I can achieve this with xcopy but not sure how to do it in OSX.