neatlink

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 %%% .

1 comment

name
blog (optional)
comment

I prefer: find -type f -exec mv {} . \;

monthchunks

license

Justinsomnia is licensed under a Creative Commons Attribution 3.0 License.

Please see my Attribution Policy for more information.