Tiny CLI tool to find out how many chia plots will still fit on your hard disk. In other words to say: How many chia plots do I have left on my hard disk. The tool will work fine on all unix based systems (unix, linux, macos)
Pre-built binaries can be found on the release page. They are available for the following platforms:
- darwin-amd64 (64 Bit MacOS)
- linux-amd64 (64 Bit Linux)
- linux-arm64 (64Bit Linux for ARM)
- Linux, MacOS or other Unix based System
git
installedgo 1.16
installed
Clone the repository
git clone https://github.com/St3ffn/plots-left.git
cd plots-left
Build the binary
go build
Now you are ready to go.
# find out how many chia plots will still fit on /path/to/plots
> plots-left /path/to/plots
To specify the amount of plots to reserve use --reserve
or -r
# find out how many chia plots will still fit on /path/to/plots
# reserve 1 chia plot
> plots-left -r 1 /path/to/plots
To get more details use the verbose mode via --verbose
or -v
# find out how many chia plots will still fit on /path/to/plots
# reserve 1 chia plot
# verbose mode
> plots-left -r 1 -v /path/to/plots
Path Total Stored Reserved Left
/plots/one 110 109 1 0
To get the current version use --version
or -V
> plots-left -V
plots-left version x.x.x
Call with --help
or -h
to see the help page
> plots-left -h
NAME:
plots-left - find out how many plots will still fit on your hard disk
USAGE:
plots-left [-r RESERVE] [-v] PATH
plots-left -v -r 1 /plots/nas1
VERSION:
0.3.0
DESCRIPTION:
Tool will perform the following calculation (AVAILABLE_DISK_SPACE/SINGLE_PLOT_SIZE)-RESERVED_PLOTS.
GLOBAL OPTIONS:
--reserve RESERVE, -r RESERVE RESERVE. the amount of plots to reserve. (default: 0)
--verbose, -v enable verbose mode. (default: false)
--help, -h show help (default: false)
--version, -V print version (default: false)
COPYRIGHT:
GNU GPLv3
If you like the tool, and you are open for a kind gesture. Thanks in advance.
- XCH Address: xch18s8r9v4kpwdx2y8jks5ma4g2rmff0h9dtr5nkc6zmnk5kj6v0faqer6k9v