diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnkBYpLu_NOj7Uq0-acvLgWhxF8AUEIJbo <Chris@web> | 2013-05-03 04:14:55 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-05-03 04:14:55 +0000 |
commit | 57533850ff17fe9893a0b07a2317fe6b37f90d64 (patch) | |
tree | 54e9300539aec979d9767852cec19c145d144604 /doc/tips/finding_duplicate_files | |
parent | 457a6a0b40fad3146093c73c5f3d58d4b04d0cd2 (diff) |
Added a comment: Find files by key
Diffstat (limited to 'doc/tips/finding_duplicate_files')
-rw-r--r-- | doc/tips/finding_duplicate_files/comment_6_a6e88c93b31f67c933523725ff61b287._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/tips/finding_duplicate_files/comment_6_a6e88c93b31f67c933523725ff61b287._comment b/doc/tips/finding_duplicate_files/comment_6_a6e88c93b31f67c933523725ff61b287._comment new file mode 100644 index 000000000..31601a989 --- /dev/null +++ b/doc/tips/finding_duplicate_files/comment_6_a6e88c93b31f67c933523725ff61b287._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnkBYpLu_NOj7Uq0-acvLgWhxF8AUEIJbo" + nickname="Chris" + subject="Find files by key" + date="2013-05-03T04:14:55Z" + content=""" +Is there any simple way to search for files with a given key? + +At the moment, the best I've come up with is this: + +```` +git annex find --include '*' --format='${key} ${file}' | grep <KEY> +```` + +where `<KEY>` is the key. This seems like an awfully longwinded approach, but I don't see anything in the docs indicating a simpler way to do it. Am I missing something? +"""]] |