diff options
author | 2014-07-02 23:54:05 +0000 | |
---|---|---|
committer | 2014-07-02 23:54:05 +0000 | |
commit | 5d6352b6572747554693050a706312a16167d5f2 (patch) | |
tree | 2f0c55162623a051734a76c4f79f98248b9ee818 | |
parent | 20801b0a356bc58cdd4e2589042731c7af20fb58 (diff) |
-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 |