I mean, I’d need to fiddle around with it, but presumably this wouldn’t be all too hard to script.
Just do a for-loop over the output of ls. And then in each iteration step, you’d do something like:
mkdir $name
mv $name $name/$name
This will mean, though, that the file extension is part of the folder name, if you care about that.




















Oh man, someone here recently shared a blog post on startup culture in software companies, which likened software to an oven, where you’d add a specific button for a customer and that fucks up your whole architecture for years to come etc…
For just a moment, I thought this was a direct quote from that blog post.