Find Empty Directories from Command Line

on

|

views

and

comments

[ad_1]

As a software program engineer that lives an excessive amount of of his life on a pc, I like protecting my machine as clear as potential. I do not preserve rogue downloaded information and removes apps after I do not want them. A part of protecting a clear, performant system is eradicating empty directories.

To establish empty directories, I take advantage of the next command:

discover . -type d --empty

To take away empty directories, we will add a --delete flag:

discover . -type d --empty --delete

Holding a clear machine is straightforward when you understand the instruments that may allow you to. discover makes figuring out and eliminating straightforward, so do not be afraid to make use of it!

  • Chris Coyier’s Favorite CodePen Demos

    David requested me if I would be up for a visitor publish choosing out a few of my favourite Pens from CodePen. A frightening activity! There are such a lot of! I managed to select just a few although which have blown me away over the previous few months. If you happen to…

  • CSS vs. JS Animation: Which is Faster?

    How is it potential that JavaScript-based animation has secretly at all times been as quick — or quicker — than CSS transitions? And, how is it potential that Adobe and Google constantly launch media-rich cellular websites that rival the efficiency of native apps? This text serves as a point-by-point…


[ad_2]
Share this
Tags

Must-read

What companies are using big data analytics

What do companies use big data for? What companies are using big data analytics. There are a multitude of reasons companies use big data, but...

How to use big data in healthcare

What is data quality and why is it important in healthcare? How to use big data in healthcare. In healthcare, data quality is important for...

How to build a big data platform

What is big data platform? How to build a big data platform. A big data platform is a powerful platform used to manage and analyze...

Recent articles

More like this