diff options
-rw-r--r-- | doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn b/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn index 008090013..02057973a 100644 --- a/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn +++ b/doc/forum/use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn @@ -10,7 +10,8 @@ I see several options: Options 1 and 2 are impractical for several reasons. Option 4 usually requires that your files are inside the DMS. So my question is. Do you think this is doable with git-annex? Is there an easy way to ask it: give me the document with this index? - +I think the best answer for this question is: git annex find --include '*' --format='${key} ${file}' | grep <KEY> +And conversely, how do I find the key of a certain document? Thanks in advance. Best, Juan |