3 unstable releases
new 0.2.0 | May 17, 2025 |
---|---|
0.1.1 | May 17, 2025 |
0.1.0 | May 17, 2025 |
#2343 in Command line utilities
6KB
76 lines
๐ฆ filefetch
A simple Rust CLI tool to display information about the current folder.
Shows the total size, number of files and folders, and prints each entry with a neat emoji.
๐ Features
- ๐ Shows current directory path
- ๐ฆ Displays folder size in MB
- ๐ข Counts files and optionally subdirectories
- ๐ Lists files and folders with colorful output
- ๐๏ธ Optional flags for no-color or subdirectory counting
๐ ๏ธ Installation
From crates.io:
cargo install filefetch
(btw make sure to have crates installed, it's the package manager for rust)
๐งช Usage
filefetch
Optional flags:
--nocolor โ disable colored output
--include-subdirs โ count subdirectories in the total file count
๐ Example Output
๐ Current Directory: /home/user/projects
๐ฆ Folder Size: 13.42 MB
๐ฆ Number of entries: 8
๐ Files:
โข ๐ src
โข ๐ Cargo.toml
โข ๐ README.md
Dependencies
~2โ26MB
~361K SLoC