As a software engineer that lives too much of his life on a computer, I like keeping my machine as clean as possible. I don’t keep rogue downloaded files and removes apps when I don’t need them. Part of keeping a clean, performant system is removing empty directories.
To identify empty directories, I use the following command:
find . -type d --empty
To remove empty directories, we can add a
find . -type d --empty --delete
Keeping a clean machine is easy when you know the tools that can help you.
find makes identifying and eliminating easy, so don’t be afraid to use it!
Today we get to play amazing games on our super powered game consoles, PCs, VR headsets, and even mobile devices. While I enjoy playing new games these days, I do long for the retro gaming systems I had when I was a kid: the original Nintendo…
attachEvent. Times have changed but there are still a few functions each developer should…