Categorygithub.com/tcpaddock/shiplot
repositorypackage
1.0.0-beta.5
Repository: https://github.com/tcpaddock/shiplot.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

shiplot

codecov

Chia plot file shipper.

Features

  • Move plots locally or ship plots over the network.
  • Dynamically adjusts number of plot transfers based on available destination paths.
  • Keeps track of destination paths and queues as needed.
  • Supports multiple source and destination paths.
  • Supports path globbing to keep configs small.
  • Cross platform with testing on Windows, Linux, and Mac.

Install

  • Download the binary from releases.
  • Create a config file in same directory as binary. (See example)

Usage

The tool currently has two primary modes. It will either move plots locally or ship them across the network.

View the help text by running:

# Linux/macOS
shiplot help

# Windows
shiplot.exe help

View the version by running:

# Linux/macOS
shiplot version

# Windows
shiplot.exe version

Local

Start moving plots:

# Linux/macOS
shiplot run --maxThreads=12 --stagingPaths="/staging/*" --destinationPaths="/mnt/dest,/mnt/jbod*"

# Windows
shiplot.exe run --maxThreads=12 --stagingPaths="C:/staging/*" --destinationPaths="D:/,E:/"

Network

In network mode, the destinationPaths parameter is ignored.

Start server on destination:

# Linux/macOS
shiplot run --maxThreads=12 --destinationPaths="/mnt/dest,/mnt/jbod*" --server.enabled=true

# Windows
shiplot.exe run --maxThreads=12 --destinationPaths="D:/,E:/" --server.enabled=true

Start client on plotter:

# Linux/macOS
shiplot run --maxThreads=12 --stagingPaths="/staging/*" --client.enabled=true --client.serverIp="192.168.0.2"

# Windows
shiplot.exe run --maxThreads=12 --stagingPaths="/staging/*" --client.enabled=true --client.serverIp="192.168.0.2"

License

Licensed under the MIT license.

Copyright © 2023 Taylor Paddock