So I am looking for a crate that feels similar to creating a shell script but I am NOT actually calling any of the shell commands and this crate should be supported for Windows.
For example I can run something like rm -rf directory or something like that.
EDIT: since mv is not included in the above (having a platform-agnostic abstraction of mv is tricky, since within the same filesystem / partition, a simple file rename suffices, and otherwise an "atomic copy and remove original" operation is needed), I'll also mention the ::fs_extra crate.
Lets just say I wanted to remove everything recursively and I don't want to delete any files with a specific name (lets call the file name "Rust"). So do you happen to know how I would delete everything but the name "Rust"?