I've found lots of scripts which will recursively flatten all the contents of the subfolders and the subfolders of those subfolders of a directory. But I just want to flatten one level and keep the subfolders intact. How would I go about doing that with maybe a bash script?
mv */* .
If you don't care about hidden directories, it's as simple as that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With