Browse Source

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

master
Bert Münnich 13 years ago
parent
commit
37a42dba34
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      sxiv.1

+ 9
- 0
sxiv.1 View File

@@ -309,6 +309,15 @@ to remove empty subdirectories:
.RS
find \-type d \-empty \-delete
.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
.EX
Bert Muennich <ber.t at gmx.com>


Loading…
Cancel
Save