remove_empty_subdirs

Recursively remove empty sub-directories.

Note:

Usage

Library

Add the library as a dependency to your project by inserting

toml remove_empty_subdirs = "0.1.0"

into the [dependencies] section of your Cargo.toml file.

Then use it in the source code of your project. For example:

```rust extern crate removeemptysubdirs;

use std::path::Path;

use removeemptysubdirs::removeemptysubdirs;

fn main() { let path = Path::new("testdir"); removeempty_subdirs(path).unwrap(); } ```

Executable

First, build the executable in examples/ directory:

sh cargo build --release --examples

Then copy the built executable target/release/examples/remove_empty_subdirs to anywhere you like.

Run the executable:

sh /path/to/remove_empty_subdirs --help

to get the help for usage.

License

This project is licensed under either of

at your option.