ISTREAM(1)
π ISTREAM(1) π
okay so bestie, this is istream β an iRODS iCommand, and it is literally here to stream bytes for you. Letβs get into it π
πΈ NAME πΈ
istream β an iRODS iCommand β¨
β¨ SYNOPSIS β¨
istream read [-R RESC_NAME] [-o INTEGER] [-c INTEGER] LOGICAL_PATH
π¦ DESCRIPTION π¦
The usage vibes are giving:
Usage: istream read [-n REPLICA_NUMBER] [-o INTEGER] [-c INTEGER] LOGICAL_PATH
Usage: istream write [-R RESC_NAME] [-k] [-o INTEGER] [-c INTEGER] [--no-trunc] [-a] LOGICAL_PATH
Usage: istream write [-n REPLICA_NUMBER] [-k] [-o INTEGER] [-c INTEGER] [--no-trunc] [-a] LOGICAL_PATH
Streams bytes to/from iRODS via stdin/stdout. It reads bytes from the target data object and prints them to stdout. It also writes bytes from stdin to the target data object. iconic behavior, no cap π
Writing to a non-existent data object will create it by default. Writing to an existing data object always truncates it. Truncation can be disabled by passing --no-trunc. However, using --no-trunc disables creation of data objects. thatβs the tradeoff, bestie π
π heads up: if the client-side of the connection is interrupted before the data object is closed, then the catalog will not be updated and the data object will have a replica status ofintermediateorstale. Information such as data object size and checksum will not be available.
If the target data object does not reside on the connected server, istream will not attempt to redirect to the server hosting the replica. Traffic will always flow through the connected server. periodt π«Ά
π OPTIONS π
-R,--resourceβ the root resource to read from or write to. Cannot be used with--replica.-n,--replicaβ the replica number of the replica to read from or write to. Replica numbers cannot be used to create new data objects. Cannot be used with--resource.-o,--offsetβ the number of bytes to skip within the data object before reading/writing. Value must be positive. Defaults to zero.-c,--countβ the number of bytes to read/write. Value must be positive. Defaults to all bytes.-a,--appendβ appends bytes read fromstdinto the data object. Implies--no-trunc.--no-truncβ does not truncate the data object. Disables creation of data objects. Ignored by write operations when--appendis set.-k,--checksumβ compute checksum.-h,--helpβ prints this message.
π xoxo bestie, thatβs the whole page. Shoutout to iRODS Version 5.0.2 and istream; the footer source/version is istream iRODS-5.0.2, dated January 1980. slay πβ¨
π¦ where this page comes from
- nixos 26.05: irods-icommands 5.0.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms