The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

remove-empty-dirs - remove recursively empty directories

SYNOPSIS

 $ remove-empty-dirs directories...

Removes all empty subdirectories recursively inside the given directories, including directories themselves if they end up to be empty.

DESCRIPTION

The command remove-empty-dirs recursively visits all subdirectories of the directories given in the command line and removes all empty directories. It will remove also directories that become empty after recursivelly removing their empty subdirectories.

AUTHOR

Vlado Keselj vlado@dnlp.ca http://vlado.ca

LICENSE

Perl License (perl)

SCRIPT CATEGORIES

CPAN Unix/System_administration

README

remove-empty-dirs - remove recursively empty directories