Skip to content

Techliness

Month: August 2023

Linux – How to delete empty directories

Sometimes, we may have a bunch of empty directories left behind by certain scripts or programs. The below command allows us to get rid of these.

find <path-parent> -empty -type d -delete


eg. find . -empty -type d -delete

Author niiaplehPosted on August 16, 2023August 19, 2023Categories Uncategorized
Shelfari: Book reviews on your book blog

Categories

Recent Posts

  • Linux – How to delete empty directories
  • How to create a csv or excel file from a mysql query
  • How to check if a column with a particular name exists in a MySQL database
  • How to Reduce mysql bin files on-the-fly
  • My Apache Cloudstack dream documentation

Archives

  • August 2023
  • June 2017
  • October 2016
  • August 2015
  • June 2015
  • March 2015
  • January 2015
  • October 2014
  • September 2014
  • July 2014

Tags

  • Certifications
  • cloudstack
  • CMS
  • Drupal
  • EMC
  • How-to
  • Microsoft
  • Mysql
  • Review
  • Skype
  • Storage
  • Sysadmins-day
  • Windows
Techliness Proudly powered by WordPress