Skip to content

A simple python script to move finished plots to their final destination.

License

Notifications You must be signed in to change notification settings

khituras/chia-plotmover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

chia-plotmover

A simple python script to move finished plots to their final destination.

Usage: python3 moveFinishedPlots.py <from dir> <to dir> [<deletion dir>]

The script scans the <from dir> in a regular interval, currently 30 minutes. If files with the .plot or .PLOT extensions are found, those are moved to the <to dir>. If <deletion dir> is specified and the size of the new plots would exceed the remaining disk space, a number of plot files that equals the number of plot files in <from dir> is deleted first from <deletion dir> to make enough space.

The idea is to let the plotter put the final files to some place where it can put them quickly (like a second temporary directory of sorts) and then let this script move the plots to their actual final location. The removes the time overhead of moving final plot files to potential slow external storages and having the plotter waiting all this time instead of creating new plots.

Of course, this can only work if plotting takes not less time than moving. Thus, this script won't help if you use the madMAx plotter with a strong CPU and a RAM disc and then copy the final plots over a 100mbit network.

About

A simple python script to move finished plots to their final destination.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages