PTCLI Sample – Move tapes by barcodes
Product:
Well tested on IBM ProtecTIER TS7650G 3.4
Example:
ptcli.exe InventoryMoveFile –ip 110.127.123.54 –loginFile c:\users\horleun\ptcli.p –force –filetype barcode –file D:\PT\Tapes\1.movelist.txt –destination shelf
Output:
<?xml version=”1.0″ encoding=”UTF-8″?>
<response command=”InventoryMoveFile” host-name=”VTL01″
host-time=”1541828546″ host-time-string=”10-Nov-2018 13:42″
local-time=”1541828673″ local-time-string=”10-Nov-2018 13:44″ status=”success”
>
<move-query-result failed-number=”0″
last-refresh-time=”2018-11-10 11:50:32″ moved-number=”2477″ result-file=””/>
</response>