i dont know who needs to hear this... but this saved my day

`find . -mindepth 2 -type f -exec mv -n -t . {} + && find . -mindepth 1 -type d -empty -delete`

just flattens a folder, takes alllllll the sub folders and their sub folders and flattens them into the current dir.

#bash #oneliner #aitoldme #wow