Dear Users,
using imeta irods command I'm able to list and set metadata for a single file.
Example:
imeta ls -d /idas/home/user/TEST3.iso
AVUs defined for dataObj /idas/home/user/TEST3.iso:
attribute: end_retention
value: 2022-05-20
units:
----
attribute: Filetype
value: # ISO 9660 CD-ROM filesystem data 'CentOS 7 x86_64' (bootable)
units:
----
attribute: retention
value: 5
units: months
----
attribute: start_retention
value: 2022-04-20
units:
imeta set -d /idas/home/user/TEST3.iso retention 6 months
imeta ls -d /idas/home/user/TEST3.iso
AVUs defined for dataObj /idas/home/user/TEST3.iso:
attribute: end_retention
value: 2022-05-20
units:
----
attribute: Filetype
value: # ISO 9660 CD-ROM filesystem data 'CentOS 7 x86_64' (bootable)
units:
----
attribute: retention
value: 6
units: months
----
attribute: start_retention
value: 2022-04-20
units:
Could you please help me to:
- list metadata for all files matching the name TEST* (all TEST* files are saved in the same directory)
- set metadata for all files matching the name TEST* (all TEST* files are saved in the same directory)
I didn't understand how to correctly use imeta wildcards.
Could you please show me an example?
Thank you in advance,
Mauro