IMETA(1)

πŸ“¦ version 5.0.2, in nixos 26.05

πŸ’– NAME πŸ’–

imeta β€” an iRODS iCommand, bestie, and this is the section 1 (IMETA(1)) page for it, filed under User Commands. Slay. πŸ’…

✨ SYNOPSIS ✨

imeta [-vVMhz] [command]

🌸 DESCRIPTION 🌸

Okay so first up, the flags, no cap:

  • -v β€” verbose.
  • -V β€” Very verbose.
  • -M β€” Admin mode.
  • -z Zonename β€” work with the specified Zone.
  • -h β€” This help.

πŸŽ€ Commands are: πŸŽ€

  • add -d|C|R|u Name AttName AttValue [AttUnits] β€” add a new AVU triple.
  • rm -d|C|R|u Name AttName AttValue [AttUnits] β€” remove an AVU.
  • rmi -d|C|R|u Name MetadataID β€” remove an AVU by MetadataID.
  • mod -d|C|R|u Name AttName AttValue [AttUnits] [n:Name] [v:Value] [u:Units] β€” modify an AVU; new name (n:), value (v:), and/or units (u:).
  • set -d|C|R|u Name AttName newValue [newUnits] β€” assign a single value.
  • ls -[l]d|C|R|u Name [AttName] β€” list existing AVUs for item Name.
  • cp -d|C|R|u -d|C|R|u Name1 Name2 β€” copy AVUs from item Name1 to Name2.

Metadata attribute-value-units triples (AVUs) consist of an Attribute-Name, Attribute-Value, and an optional Attribute-Units. They can be added via the add command (and in other ways), and then queried to find matching objects. It’s giving structured metadata realness. ✨

For each command, -d, -C, -R, or -u is used to specify which type of object to work with: dataobjs (iRODS files), collections, resources, or users. So like: -d = dataobjs, -C = collections, -R = resources, -u = users. πŸ¦‹

Important vibe check: a user must be a rodsadmin to set or modify AVUs on resources and users. No shortcuts there, bestie. πŸ’€

Fields represented with upper case, such as Name, are entered values. For example, Name is the name of a dataobject, collection, resource, or user.

Single or double quotes can be used to enter items with blanks.

Entered usernames are of the form username[#zone]. If #zone is not provided, the zone from your irods_environment.json is assumed. iykyk. 🫢

The appropriate zone (local or remote) is determined from the path names or via -z Zonename (when working with resources).

If you are an iRODS administrator, you can include the -M option to run in administrator mode and add, remove, or set metadata on any collection, data object, user, or resource. Admin mode main character energy. πŸ‘‘

Try help command for more help on a specific command. Literally that simple. 🌈


Anyway bestie, this is iRODS Version 5.0.2 / imeta, source/version iRODS-5.0.2, dated January 1980, manual IMETA(1) β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from