#filesystem #utility #convenience

fsutils

An API for typical filesystem operations based on Bash commands

8 releases

0.1.7 Jun 2, 2021
0.1.6 Mar 11, 2021
0.1.2 May 20, 2020
0.1.1 Apr 27, 2020
0.1.0 Mar 23, 2020

#254 in Filesystem

Download history 71/week @ 2022-08-16 85/week @ 2022-08-23 75/week @ 2022-08-30 62/week @ 2022-09-06 89/week @ 2022-09-13 118/week @ 2022-09-20 121/week @ 2022-09-27 88/week @ 2022-10-04 175/week @ 2022-10-11 158/week @ 2022-10-18 141/week @ 2022-10-25 280/week @ 2022-11-01 147/week @ 2022-11-08 136/week @ 2022-11-15 60/week @ 2022-11-22 92/week @ 2022-11-29

482 downloads per month
Used in fewer than 6 crates

MIT/Apache

15KB
241 lines

Build Status Build status Crate Crates.io API

fsutils

Utilities for common filesystem operations.

fsutils provides an API based on Bash commands and includes a number of utility functions to make interacting with the filesystem simpler and more ergonomic.

Documentation:

Usage

Add this to your Cargo.toml:

[dependencies]
fsutils = "0.1"

Error Logging

This creates uses the log and env_logger crates. To enable info level logging in your application, add env_logger::init(); to your main() function and set the log level to info with RUST_LOG="info" ./yourapp.

License

fsutils is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.

Dependencies

~1.2–1.7MB
~45K SLoC