For When You Can't Have The Real Thing
[ start | index | login ]
start > perl > Prune Empty Directory Structures

Prune Empty Directory Structures

Created by dave. Last edited by dave, 13 years and 269 days ago. Viewed 5,779 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Prune Empty Directory Structures

use File::Find;
finddepth(sub{rmdir},'.');
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt