summaryrefslogtreecommitdiff
path: root/doc/forum/How_to_find_deleted_files_that_I_know_have_been_backed_up__63__/comment_4_43549b3d231f52cf53a66c477c34a708._comment
blob: 7d29bec3a75b9e44a01627583aed7263c8d0313b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="joey"
 subject="""comment 4"""
 date="2015-04-21T20:22:25Z"
 content="""
Yeah, you need to `git checkout` a tree from before you deleted the files,
and then you'll be able to use `git annex whereis` in there on the deleted
files. This will tell you where the files are currently located (not some historical data).

`git annex whereis --key` is indeed an alternative approach, if you know
the key corresponding to the deleted file. You can see the keys in the git
diff, if you know where to look.

[[internals]] will let you understand how this all really works.
"""]]