filefetch

Crates.iofilefetch
lib.rsfilefetch
version0.2.0
created_at2025-05-17 08:52:59.822997+00
updated_at2025-05-17 09:38:31.442028+00
descriptionA folder info fetcher for the terminal
homepagehttps://github.com/gummyniki/filefetch
repositoryhttps://github.com/gummyniki/filefetch
max_upload_size
id1677733
size18,513
Mierenik (gummyniki)

documentation

README

๐Ÿ“ฆ 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.

Demo


๐Ÿš€ 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 cargo installed, it's the package manager for rust)

๐Ÿงช Usage

filefetch

Optional flags:

--nocolor โ€“ disable colored output

--recursive โ€“ count subdirectories in the total file count

--folder-size - shows folder sizes *(will take longer)*

๐Ÿ“‚ Example Output

๐Ÿ“ Current Directory: /home/user/projects
๐Ÿ“ฆ Folder Size: 13.42 MB
๐Ÿ“ฆ Number of entries: 8
๐Ÿ“„ Files:
โ€ข  ๐Ÿ“ src
โ€ข  ๐Ÿ“„ Cargo.toml
โ€ข  ๐Ÿ“„ README.md

Commit count: 13

cargo fmt