How to Flatten a Directory Structure (this has been surprisingly useful on more than one occasion this week)
find -type f -print0 | xargs -0 -I%%% mv %%% .
How to Flatten a Directory Structure (this has been surprisingly useful on more than one occasion this week)
find -type f -print0 | xargs -0 -I%%% mv %%% .
New comments are no longer accepted, so if you want to get in touch, send me an email.
I prefer: find -type f -exec mv {} . \;