aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>