ISCAN(1)
β¨ NAME β¨
hey bestie, meet iscan β an iRODS iCommand, and yes this is the ISCAN(1) page from the User Commands manual π
. Sheβs the scan girlie: local physical stuff, iRODS logical stuff, all the vibes, no cap.
πΈ SYNOPSIS πΈ
iscan [-rhd]
srcPhysicalFile|srcPhysicalDirectory|srcDataObj|srcCollection
π¦ DESCRIPTION π¦
okay so hereβs the tea. If the input is a local physical data file or a local directory, iscan checks if the named content is registered in iRODS. Important: a full physical path must be used for local files and directories, periodt.
If the input is a logical path representing an iRODS data object or an iRODS collection, iscan checks if the associated registered physical file entries exist on the data servers. Scanning data objects and collections may only be performed by a rodsadmin β thatβs the gatekeeping rule, bestie π.
If the operation is successful, nothing will be output and 0 will be returned. iconic quiet-girl behavior, honestly β¨.
π Options are: π
-rβ recursive, so scan local subdirectories or logical subcollections. literally going deeper πΏ-hβ this help. your lil save-me button π«Ά-dβ scan data objects in iRODS (default is scan local files/directories). iykyk, no-dmeans local vibes π
π EXAMPLES π
okay these are the exact example blocks β commands and outputs preserved like a lil museum exhibit πΌοΈ.
single physical path check
# scan a single physical path to check its presence in the catalog
$ iscan /var/lib/irods/not_in_catalog
/var/lib/irods/not_in_catalog is not registered in iRODS
recursive physical path check, unregistered local files
# recursively scan a physical path to check for unregistered local files
$ iscan -r /var/lib/irods/Vault/home/rods/scanned
/var/lib/irods/Vault/home/rods/scanned/does_not_exist2 is not registered in iRODS
/var/lib/irods/Vault/home/rods/scanned/does_not_exist1 is not registered in iRODS
recursive physical path check, missing path output
# recursively scan a physical path to check for unregistered local files
$ iscan -r /data/projects/myproject
remote addresses: 127.0.0.1 ERROR: scanObj: /data/projects/myproject does not exist
single relative logical path check
# check that a single relative logical path exists in the catalog
$ iscan -d not_a_dataobject
Could not find the requested data object or collection in iRODS.
recursive relative logical path check for missing physical paths
# recursively scan a relative logical path for missing physical paths
$ iscan -rd scanme
Physical file /var/lib/irods/Vault/home/rods/scanme/does_not_exist on server irods.example.org is missing, corresponding to iRODS object /tempZone/home/rods/scanme/does_not_exist
Physical file /var/lib/irods/Vault/home/rods/scanme/missing on server irods.example.org is missing, corresponding to iRODS object /tempZone/home/rods/scanme/missing
rodsadmin requirement
# rodsadmin required to scan logical paths
$ iscan -d test.txt
User must be a rodsadmin to scan iRODS data objects.
okay thatβs the whole manual page, bestie π shoutout to iRODS Version 5.0.2 and iscan; footer vibes: iscan iRODS-5.0.2, dated January 1980, section ISCAN(1) β slay and goodbye π«Άβ¨
π¦ 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