having fun with code

Tag Archives: remove

Python script: remove empty folders

One of the scripts I often use is this one to remove empty folders under a specific location on your hard drive. The usage is simple: $ [path to the script]/remove_empty_folders.py [path_to_clean] Here is the code: #! /usr/bin/env python import os, sys   def removeEmptyFolders(path):   if not os.path.isdir(path):     return     # [...]

About the blog

This is a blog about development, focused mainly on Javascript but also other languages like python, shell scripts and more.

About the author

Eneko Alonso is a software engineer and UI developer with more than eight years of experience in software and web development. He lives in San Luis Obispo, California and works at LEVEL Studios.

Contact Info

Contact Info

PromoteJS

JavaScript JS Documentation