OS X Daily shows off a handy Terminal command for just that.

When you have directories inside of other directories, you end up losing track of files pretty quickly.

To smash the whole thing down into one directory, a simple Terminal command is all you need.

Head over to OS X Daily for a few more examples of how it works.

Flatten a Nested Directory & File Hierarchy from Command Line of OS X| OS X Daily