From af7f96806b719af9fa395c0d335d4d5a2826bb3f 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:43 +0000 Subject: [PATCH] --- ..._unique_indentifier_of_objets___40__doi_like__41__.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 02057973a5..f46ced9082 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 @@ -9,9 +9,10 @@ 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? +* 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