https://github.com/harr1424/ferris-files
CLI to find large files using parallel directory traversal and mpsc channels.
https://github.com/harr1424/ferris-files
filesystems mpsc-channel parallelism rust
Last synced: 2 months ago
JSON representation
CLI to find large files using parallel directory traversal and mpsc channels.
- Host: GitHub
- URL: https://github.com/harr1424/ferris-files
- Owner: harr1424
- Created: 2022-12-03T22:22:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T22:31:00.000Z (11 months ago)
- Last Synced: 2025-06-01T11:53:46.473Z (4 months ago)
- Topics: filesystems, mpsc-channel, parallelism, rust
- Language: Rust
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ferris-files
```
A CLI to find large filesUsage: ferris-files [OPTIONS]
Options:
-n, --num_entries
(optional) Number of largest entries to output [default: 10]
-b, --batch_Size
(optional) Number of files to size at one time [default: 1000]
-d, --directory
(optional) defaults to attempting to detect current working directory
-x, --excluded-dirs-file
(optional) Path to a file where each line specifies a directory to ignore
-v, --verbose
-h, --help
Print help
-V, --version
Print version
``````
Preparing to scan using 12 threads
Limiting open file handles to 524287
Searching for 10 largest entries in /Users/user:
[00:00:15] Directory scan complete (121 errors encountered: run with -v for details)
[00:00:15] Processed 1399886 files (1399886 successful, 0 failed)/Users/user/Movies/TV/Media.localized/Movies/Twin Peaks_ Fire Walk with Me/Twin Peaks_ Fire Walk with Me (1080p HD).m4v: 5.17 GB
/Users/user/Library/Android/sdk/system-images/android-33/google_apis/x86_64/system.img: 4.01 GB
/Users/user/Library/Android/sdk/system-images/android-34/google_apis/x86_64/system.img: 4.01 GB
/Users/user/Library/Android/sdk/system-images/android-31/google_apis/x86_64/system.img: 4.01 GB
/Users/user/Movies/TV/Media.localized/Movies/The Animatrix/04 The Animatrix (1080p HD).m4v: 3.65 GB
/Users/user/.android/avd/Pixel_5_API_33.avd/userdata-qemu.img.qcow2: 3.54 GB
/Users/user/Library/Android/sdk/system-images/android-30/google_apis/x86/system.img: 3.01 GB
/Users/user/Library/Android/sdk/system-images/android-31/google_apis_playstore/x86_64/system.img: 2.67 GB
/Users/user/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw: 2.32 GB
/Users/user/Virtual Machines.localized/kali-linux-2024.2-vmware-amd64.vmwarevm/kali-linux-2024.2-vmware-amd64-s035.vmdk: 1.97 GBProgram completed in 15.199807 seconds
```I created the same program using [C++](https://github.com/harr1424/cpp_filesystem_size), [C](https://github.com/harr1424/c_filesystem_size), and [Go](https://github.com/harr1424/go_filesystem_size).