Giter Club home page Giter Club logo

plots-left's Introduction

plots-left

Release CI License GO

count

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)

Getting started

Pre-Built Binaries

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)

Building from Source

Pre-requisites

  • Linux, MacOS or other Unix based System
  • git installed
  • go 1.16 installed

Build

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.

Usage

# 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

Kind gestures

If you like the tool, and you are open for a kind gesture. Thanks in advance.

  • XCH Address: xch18s8r9v4kpwdx2y8jks5ma4g2rmff0h9dtr5nkc6zmnk5kj6v0faqer6k9v

plots-left's People

Contributors

st3ffn avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.