Crates.io | rdu |
lib.rs | rdu |
version | 0.1.0 |
source | src |
created_at | 2022-03-06 13:51:16.892495 |
updated_at | 2022-03-06 13:51:16.892495 |
description | A file/folder size checking program |
homepage | |
repository | https://gitlab.com/DigitalCyan/rdu |
max_upload_size | |
id | 544502 |
size | 46,699 |
Rusty Disk Usage is a program that writes the size of a file or a directory to stdout. If you target a file it will write it's size in bytes to stdout. Don't worry, you won't need a calculator, there's a flag to make the output more human readable. If you however target a directory, it will perform a recursive search of the targeted directory and sum up all the files it can find. There's also an option to print out every file individually.
cargo
installedcd
into the repocargo build --release
target/release/rdu
rdu [OPTIONS] [PATH]
These will print the size of a file or a directory in bytes
rdu Programs
rdu file.txt
If you wish to make it more readable pass the --human
or -h
flag like so:
rdu -h file.txt
Does not work with absolute paths for some reason.
Made by DigitalCyan - Licensed under GPLv3