summaryrefslogtreecommitdiff
path: root/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment
blob: 7121f380cab4978761e803ff6f3caf87e1413e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[!comment format=mdwn
 username="atrent"
 subject="comment 3"
 date="2015-11-16T09:06:34Z"
 content="""
This procedure is also very useful when you accidentally rename files in the object dir.

Such a case occurred to me when I 'detoxed' a git-annex: detox renames files and it substitutes \"--\" with \"-\", thus destroying my annex.

I find git-annex very elegant in this situation: rather than trying to rename back the files (objects) you just re-add them (since content is still there unmodified) recreating the symlink targets!

Kudos!
"""]]