blob: 31601a989384c8a454a435c4bebe6b381e22ef04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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?
"""]]
|