diff options
author | Bert Münnich <ber.t@gmx.com> | 2012-03-02 19:32:56 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2012-03-02 19:32:56 +0100 |
commit | 37a42dba34db11374315951a72dc287a6f1a2129 (patch) | |
tree | 3085e700b4bf5568de689bf95cd1f7fd5b4fd9ac | |
parent | 497880e102876e49cb496fcf9622c969d721c2b2 (diff) |
Added alternative empty directory removal command line to manpage, fixed issue #40
-rw-r--r-- | sxiv.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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> |