LoRS Command Line Tool Tutorial
The LoRS command line tools let you do three primary things:
They also give you the ability to see where the pieces of the file are stored (List) and to extend the allocations' expiration times (Refresh).
- Store a file into the wide-area network (Upload),
- Change where the file is located in the network (Augment or Trim), and
- Retrieve the file (Download).
The tools have built-in defaults which can be over-ridden by settings in the .xndrc preferences file.
If you want to keep an exNode around for awhile, you can renew its lease. As long as the depot has space available, it will grant the renewal. The simple usage is:
lors_refresh foo.xnd -m
This will extend each allocation to its maximum. Other choices are to add/subtract days (-d n[m|h|d] where n is a number (whole or decimal) and m is minutes, h is hours and d is days), set all expirations relative to now (-s n[m|h|d]) or have it expire at an exact time in seconds from the Unix Epoch (-a seconds).