Find Empty Directories from Command Line

[ad_1]

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

To establish empty directories, I exploit the next command:

discover . -type d --empty

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

discover . -type d --empty --delete

Maintaining a clear machine is simple when you already know the instruments that may assist you to. discover makes figuring out and eliminating straightforward, so do not be afraid to make use of it!

  • Tips for Starting with Bitcoin and Cryptocurrencies

    One of the rewarding experiences of my life, each financially and logically, has been shopping for and managing cryptocurrencies like Bitcoin, Litecoin, Ethereum. Like studying another new tech, I made rookie errors alongside the best way, however realized some greatest practices alongside the best way. Try…

  • Convert XML to JSON with JavaScript
  • Create a Spinning, Zooming Effect with CSS3

    In case you were not conscious, CSS animations are superior.  They’re easy, much less taxing than JavaScript, and are the way forward for node animation inside browsers.  Dojo’s cellular answer, dojox.cellular, makes use of CSS animations as an alternative of JavaScript to lighten the applying’s JavaScript footprint.  One in all my favourite results…

  • Facebook Sliders With Mootools and CSS

    One of many nice elements of being a developer that makes use of Fb is that I can get some nice concepts for progressive web site enhancement. Fb incorporates many superior JavaScript and AJAX options: photograph hundreds by left and proper arrow, dropdown menus, modal home windows, and…


[ad_2]

Leave a Reply