IGET(1)
π¦ IGET(1) β iget, the iRODS iCommand (User Commands) π¦
β¨ NAME β¨
iget β an iRODS iCommand. That's the name, that's the vibe, she's iconic π
πΈ SYNOPSIS πΈ
iget [-fIKPrUvVT] [-n replNumber] [-N numThreads] [-X restartFile]
π DESCRIPTION π
Okay bestie, the original page literally opens DESCRIPTION with the rest of that synopsis line, so here it is exactly, no edits:
[-R resource] [--lfrestart lfRestartFile] [--retries count] [--purgec]
srcDataObj|srcCollection ... destLocalFile|destLocalDir
Then it hits you with these usage blocks:
Usage: iget [-fIKPUvVT] [-n replNumber] [-N numThreads] [-X restartFile]
[-R resource] [--lfrestart lfRestartFile] [--retries count] [--purgec]
srcDataObj|srcCollection
Usage: iget [-fIKPUvVT] [-n replNumber] [-N numThreads] [-X restartFile]
[-R resource] [--lfrestart lfRestartFile] [--retries count] [--purgec]
srcDataObj ... -
So the whole point is: get data-objects or collections from iRODS space, either to the specified local area or to the current working directory. Slay. π
Data Objects with multiple replicas in iRODS may have one or more 'stale' replicas (they will not display the & before the filename in ils -l or ils -L). iRODS will not serve a stale or 'dirty' replica unless asked specifically (by using the -R option). Without the -R option, a clean replica will be selected and served to the client.
If the destLocalFile is -, the files read from the server will be written to the standard output (stdout). Similar to the UNIX cat command, multiple source files can be specified. iykyk π«Ά
The -X option specifies that the restart option is on and the operation is restartable. The restartFile input specifies a local file that contains the restart info. If the restartFile does not exist, it will be created and used for recording subsequent restart info. If it exists and is not empty, the restart info contained in this file will be used to restart the operation. Note that the operation is not restarted automatically when it failed. Another iget -X run must be made to continue from where it left off using the restart info. But the -X option can be used in conjunction with the --retries option to automatically restart the operation in case of failure. Also note that the restart operation only works for downloading directories and the path input must be identical to the one that generated the restart file. Important little caveat, bestie! β οΈ
The --lfrestart option specifies that the large file restart option is on and the lfRestartFile input specifies a local file that contains the restart info.
The --lfrestart option can be used together with the -X option to do large file transfer restart as part of the overall collection download restart.
Large files are defined by the 'maximum_size_for_single_buffer_in_megabytes' advanced configuration setting.
The -T option will renew the socket connection between the client and server after 10 minutes of connection. This gets around the problem of sockets getting timed out by the firewall as reported by some users. Firewall said timeout? Not today. π₯
π Options are: π
-fβ force: write local files even if they already exist (overwrite them).-Iβ redirect connection: redirect the connection to connect directly to the best (determined by the first 10 data objects in the input collection) resource server.-Kβ verify the checksum.-n replNumberβ retrieve the copy with the specified replica number.-N numThreadsβ the number of threads to use for the transfer. A value of0means no threading. By default (-Noption not used) the server decides the number of threads to use.--purgecβ purge the staged cache copy after downloading aCOMPOUNDobject.-Pβ output the progress of the download.-rβ recursive: retrieve subcollections.-R resourceβ specify a resource from which to get the data. If no such resource exists or a replica does not exist on the specified resource, an error will be returned.-Tβ renew socket connection after 10 minutes.-vβ verbose.-Vβ Very verbose.-X restartFileβ specifies that the restart option is on and therestartFileinput specifies a local file that contains the restart info.--retries countβ retry theigetin case of error. Thecountinput specifies the number of times to retry. It must be used with the-Xoption.--lfrestart lfRestartFileβ specifies that the large file restart option is on and thelfRestartFileinput specifies a local file that contains the restart info.-t ticketβ ticket (string) to use for ticket-based access.--kv_passβ pass quoted key-value strings through to the resource hierarchy, of the formkey1=value1;key2=value2.-hβ this help.
And right after -h, the page has this little version echo: iRODS Version 5.0.2 iget.
β¨ Final footer energy, bestie: this whole manual is signed off as iget iRODS-5.0.2, dated January 1980, with IGET(1) stamped on the footer. Source/version and date, cute and accounted for. Bye! πππ¦
π¦ 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