From f15882be2675458a4d802c453bc5d432e5bdf8bb Mon Sep 17 00:00:00 2001
From: Ondrej Dvorak <ondrej.dvorak@vsb.cz>
Date: Thu, 6 Oct 2022 12:15:08 +0200
Subject: [PATCH] Update docs.it4i/dice.md

---
 docs.it4i/dice.md | 42 +++++++++++++++++++++++++++++++++++++++---
 1 file changed, 39 insertions(+), 3 deletions(-)

diff --git a/docs.it4i/dice.md b/docs.it4i/dice.md
index 620b611d2..49f843568 100644
--- a/docs.it4i/dice.md
+++ b/docs.it4i/dice.md
@@ -324,11 +324,11 @@ ls -la ~
 For more commands, use the `ihelp` command.
 
 
-## PID services
+## PID Services
 
 You, as user may want to index your datasets and allocate some PID - Persistent Identifiers for them. We host pid system by hdl-surfsara ( it4i-handle.it4i.cz ), and you are able to create your own PID by calling some of irule. 
 
-### how to create PID
+### How to Create PID
 
 Pids are created by calling irule, you have to create at your $HOME or everewhere you want, but you have to specify path correctly. 
 rules for pid operations have always .r suffix . It can by done only throught iCommands
@@ -361,7 +361,43 @@ After creation, your pid is worldwidely searchable
 ![](img/hdl_net.jpg)
 ![](img/hdl_pid.jpg)
 
-more info at [www.eudat.eu][n]
+** More info at [www.eudat.eu][n]**
+
+### Metadata
+
+For adding metadata to you collection/dataset, you can use imeta from iCommands
+
+this is after PID creation
+```console
+user in ~ λ imeta ls -C /IT4I/home/user/Collection_A
+AVUs defined for collection /IT4I/home/user/Collection_A:
+attribute: EUDAT/FIXED_CONTENT
+value: True
+units:
+----
+attribute: PID
+value: 21.12149/f3b9b1a5-7b4d-4fff-bfb7-826676f6fe14
+units:
+```
+
+For adding any other metadata you can use :
+```console
+user in ~ λ imeta add -C /IT4I/home/user/Collection_A EUDAT_B2SHARE_TITLE Some_Title
+
+user in ~ λ imeta ls -C /IT4I/home/user/Collection_A
+AVUs defined for collection /IT4I/home/user/Collection_A:
+attribute: EUDAT/FIXED_CONTENT
+value: True
+units:
+----
+attribute: PID
+value: 21.12149/f3b9b1a5-7b4d-4fff-bfb7-826676f6fe14
+units:
+----
+attribute: EUDAT_B2SHARE_TITLE
+value: Some_Title
+units:
+```
 
 
 [1]: irods.cyberduckprofile
-- 
GitLab