blob: 203858f9d381ca8d1c0ca85744683e9509b2fec5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
### Please describe the problem.
I accidentally (entirely my fault!) ran detox (batch file renamer to eliminate spaces etc.) on a git-annex dir.
Alas detox substitutes every "--" with "-", thus "destroying" the annex.
Of course the objects are still there, just renamed so that the symlinks become broken.
I solved it by copying the objects back from my backup (I have many rsynced backups) since I was too lazy to write a script to rename all the files...
A good solution would be to provide a general script (or there is one already?) to try to recover situations like this one, maybe using shatag to identify data objects.
### What steps will reproduce the problem?
Just run detox -vr (verbose, recursive) on an annex
### What version of git-annex are you using? On what operating system?
5.20150819+g
Linux
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
I currently have about a dozen annexes, local and remote (nfs, git), no other big problem apart from lack of speed when syncing
> Closing since I don't see how any changes to git-annex can prevent this
> kind of problem. [[done]] --[[Joey]]
|