#terminal #directory #file #info #terminal-file

app filefetch

A folder info fetcher for the terminal

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

MIT/Apache

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.

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 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