#directory #search #file

adv_fs_utils

A comprehensive library for file system operations with progress reporting and advanced search capabilities

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 2, 2025

#216 in #filesystem

MIT license

13KB
242 lines

fs_utils

A high-performance Rust library for file system operations with progress reporting and advanced search capabilities.

Features

  • File Search:

    • Recursive directory traversal
    • Glob pattern matching
    • Regular expression filtering
    • Case-sensitive/insensitive options
  • Directory Operations:

    • Calculate total size (bytes or human-readable)
    • Recursive copy with progress reporting
    • File counting
  • File Operations:

    • Copy with progress callbacks
    • Move with verification
    • Progress reporting with transfer speed
  • Performance:

    • Asynchronous I/O with Tokio
    • Efficient memory usage
    • Parallel operations where beneficial

Installation

Add to your Cargo.toml:

[dependencies]
fs_utils = "0.1"

Dependencies

~10–22MB
~318K SLoC