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
  • 125,559
  • 25
  • 270
  • 266