Move Files From Subdirectories to Current Directory

From HowToGeek

Jump to: navigation, search

If you've got a whole bunch of files in a set of subdirectories, and you'd like to move them to the current directory, you can do it easily with a single command.

Just use this command, substituting your file extension for ".ext" (or omit altogether to move them all at once)

mv **/*.ext .