aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2012-03-02 19:32:56 +0100
committerBert Münnich <ber.t@gmx.com>2012-03-02 19:32:56 +0100
commit37a42dba34db11374315951a72dc287a6f1a2129 (patch)
tree3085e700b4bf5568de689bf95cd1f7fd5b4fd9ac
parent497880e102876e49cb496fcf9622c969d721c2b2 (diff)
Added alternative empty directory removal command line to manpage, fixed issue #40
-rw-r--r--sxiv.19
1 files changed, 9 insertions, 0 deletions
diff --git a/sxiv.1 b/sxiv.1
index 1659778..aa9e420 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -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>