with Tags:
mkdirhier
X

How to remove empty directories (rmdir -r?)
Someone asked me to remove all empty directories in a particular path. Option 1: rm -r You can remove ALL directories and all files using rm
-r You will end up with a nice clean system that way, and a new line on your resumé explaining why you left your job at short notice. DON'T TRY THIS AT WORK! For that matter, don't try any of these "solutions" until you've tried them somewhere which doesn't leave you wishing you'd never heard of AIX Down Under . Whenever I run any command to remove files or directories, I waste two seconds... [More]
Tags:  mkdirhier mkdir cleanup remove empty_directory yuk rmdir directory |