whitwham / tears

Stream files to and from iRODS
GNU General Public License v3.0
1 stars 5 forks source link
irods

tears

Stream files to and from iRODS.

tears either reads from stdin and writes a file to iRODS or reads a file from iRODS and writes to stdout. Basic usage for writing is:

file_making_program | tears -w /path/to/irods/file

or for reading:

tears /path/to/irods/file | file_receiving_program

Two things to note. Firstly, tears will try to pick the best iRODS host to read or write from. This can cause authentication problems and can be switched off by using the -d option. Secondly, the iRODS file can be in the form of a URI (proposed here). The URI is of the form:

_irods://[irodsUserName%23irodsZone@][irodsHost][:irodsPort]/collection_path/dataobject

Build

autoreconf -i -f

./configure --with-irods

make