0

I have a lot of mp3 files located at various levels of subdirectories inside a single folder and I want to move them all to a single directory, what command could I use to do this?

Thanks!

1 Answers1

0
shopt -s globstar
mv /old_dir/**/*.mp3 /new_dir/
Chris Down
  • 122,090
  • 24
  • 265
  • 262