I have a folder structure with varying depths similar to the following.
All of the lower most folders are Hotel Names and I'm trying to source these files in a PHP function. That aside, what I'm trying to do is to grab all of the lowest most folders and their contents into a single parent folder as below.
I'm on a Ubuntu machine and I'm new to command line but not totally ignorant to it. Any help would be appreciated.