in reply to •Re: Remove eMpTy Directories
in thread Remove eMpTy Directories

perl -MFile::Find -e 'finddepth( { no_chdir => 1, wanted => sub { rmdi +r } }, @ARGV )'

jdporter
...porque es dificil estar guapo y blanco.

Replies are listed 'Best First'.
Re^3: Remove eMpTy Directories
by Aristotle (Chancellor) on Nov 20, 2002 at 00:28 UTC
    Quite inefficient. perl -MFile::Find -e 'find( { wanted => sub {}, postprocess => sub { rmdir $File::Find::name } }, @ARGV )'

    Makeshifts last the longest.