Skip to content

Use icommands to put ,get , add metadata and query file

Zhao Long edited this page Aug 7, 2014 · 3 revisions

The icommands API Page : https://wiki.irods.org/index.php/icommands

You can even download icommands GUI for windows from this page

if you need to input the password type : rods

Put a file

iput FILENAME

Get a file

iget FILENAME

You can put a file from client A and get it from client B

Add a metadata

imeta add -d FILENAME AttName AttValue [AttUnits]

like imeta add -d myhdf5.h5 robot youbot

query files by metadata

imeta -qu AttName = AttValue

like imeta qu -d robot = youbot

use iquest SQL to quest

like iquest "select DATA_NAME,DATA_SIZE where DATA_SIZE BETWEEN '10' '100200'"