Skip to content

Mnpn/avgfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avgfile

Avgfile is a small and simple tool made in Rust that calculates the average byte in a file.

Installation

If you don't want to compile the thing yourself, download the latest release here.

If you instead want to compile avgfile, you can do so by getting Rust. Once that is installed, clone the repository: git clone git@github.com:Mnpn03/avgfile.git to clone with SSH, or git clone https://github.com/Mnpn03/avgfile.git to clone with HTTPS. Then you simply build it by running cargo build --release.

Usage

$ avgfile /path/to/desired.file

$ avgfile -t - Print the total amount of bytes in a file.

$ avgfile -s <byte> - Search for a byte in a file.

$ avgfile -u - Print the number of unique bytes in a file.

To get more help, run

$ avgfile -h

Contribution

To contribute to the project, simply create a pull request or an issue.

License

Avgfile is FOSS that comes with no warranty. Read more about the license used here.

About

Calculates the average byte in a file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages