Added alternative empty directory removal command line to manpage, fixed issue #40

This commit is contained in:
Bert Münnich 2012-03-02 19:32:56 +01:00
parent 497880e102
commit 37a42dba34

9
sxiv.1
View File

@ -309,6 +309,15 @@ to remove empty subdirectories:
.RS .RS
find \-type d \-empty \-delete find \-type d \-empty \-delete
.RE .RE
.P
If the version of
.I find
installed on your local system does not support the \-delete option, then you
can also try the following command:
.P
.RS
find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\;
.RE
.SH AUTHORS .SH AUTHORS
.EX .EX
Bert Muennich <ber.t at gmx.com> Bert Muennich <ber.t at gmx.com>