From 5d6352b6572747554693050a706312a16167d5f2 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8" Date: Wed, 2 Jul 2014 23:54:05 +0000 Subject: --- .../use_case:_unique_indentifier_of_objets___40__doi_like__41__.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +And conversely, how do I find the key of a certain document? Thanks in advance. Best, Juan -- cgit v1.2.3