nsxiv37a42db
Added alternative empty directory removal command line to manpage, fixed issue #40
+9 −0
1 file changed
- M sxiv.1 +9 −0
| @@ -309,6 +309,15 @@ to remove empty subdirectories: | |||
| 309 | 309 | .RS | |
| 310 | 310 | find \-type d \-empty \-delete | |
| 311 | 311 | .RE | |
| 312 | + | .P | |
| 313 | + | If the version of | |
| 314 | + | .I find | |
| 315 | + | installed on your local system does not support the \-delete option, then you | |
| 316 | + | can also try the following command: | |
| 317 | + | .P | |
| 318 | + | .RS | |
| 319 | + | find . \-depth \-type d \-empty ! \-name '.' \-exec rmdir {} \\; | |
| 320 | + | .RE | |
| 312 | 321 | .SH AUTHORS | |
| 313 | 322 | .EX | |
| 314 | 323 | Bert Muennich <ber.t at gmx.com> | |