#aitoldme

xennialXennial_
2026-02-06

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.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst