I have Ubuntu and Debian systems, playing with git-annex. This is not mission critical data, just testing. I ended up with an extra duplicate of the media files on the laptop.
The whereis listing is lots and lots like this:
whereis 00-Unsorted/2008-RobustStats-AmerPsyc.pdf (3 copies) 67e69242-d57c-4b50-aaf9-74876b899962 9e0bc9e4-f8bf-11e3-b9c1-9b4158540a9d -- pols110.pols.ku.edu_mediashare ( pdf and mp3) d82d2e6f-9200-49cf-86a3-1d674a768971 -- here (pauljohn@dellap14:~/medias hare) ok
(I'm pretty sure) This happened because I copied the media files to /home/pauljohn/mediashare/manuscripts manually, and then I used the git-annex assistant to set up the remote linkage to same content, from the workstation, and it apparently copied in a whole new set.
How to clean this up? Without erasing everything and starting over?
Can I guess?
Open a terminal and git remove manually 67e69242-d57c-4b50-aaf9-74876b899962 ???
Thanks in advance if you care to advise me
Paul Johnson http://pj.freefaculty.org
git-annex unused
and if that doesn't work justgit-annex drop
the unwanted files.Sorry. I just don't understand. what am I doing wrong? How to remove extra copy:
"67e69242-d57c-4b50-aaf9-74876b899962" is the UUID of a git annnex repository that git-annex has on record as containing the file. Since it does not have a description set (which normally gets done automatically when setting up the repository), and is not one of the remotes of the repository where you ran
git annex whereis
, it's a bit hard to tell what repository that is.What I would do in this situation is:
git config annex.uuid
git annex describe here "something sensible"
and maybe set it up as a remote of other repositories and thengit annex drop
the data from it if desired.git annex dead 67e69242-d57c-4b50-aaf9-74876b899962
(if it turns out I was wrong and the repository turns up later, this can always be reversed by runninggit annex semitrust 67e69242-d57c-4b50-aaf9-74876b899962
)