#utility #convenience #operations #bash #command #api

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

#1340 in Filesystem

Download history 15/week @ 2023-12-06 17/week @ 2023-12-13 29/week @ 2023-12-20 23/week @ 2023-12-27 18/week @ 2024-01-03 36/week @ 2024-01-10 18/week @ 2024-01-17 3/week @ 2024-01-24 9/week @ 2024-01-31 17/week @ 2024-02-07 30/week @ 2024-02-14 49/week @ 2024-02-21 38/week @ 2024-02-28 121/week @ 2024-03-06 32/week @ 2024-03-13 35/week @ 2024-03-20

242 downloads per month
Used in 7 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

~2.5–3.5MB
~62K SLoC