From 37a42dba34db11374315951a72dc287a6f1a2129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Fri, 2 Mar 2012 19:32:56 +0100 Subject: [PATCH] Added alternative empty directory removal command line to manpage, fixed issue #40 --- sxiv.1 | 9 +++++++++ 1 file changed, 9 insertions(+) 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