Hi guys, as a result of some improper handling I am left with a couple of files with no copies scattered all around my repos. Now, while my data loss is unfortunate, it is not tragic. What I would like to do now is to purge all of these files without having to look for them one by one. Is there any easy way to do this?
Cheers
This will output all files in your repository that git-annex thinks have no copies left:
git annex find --not --copies=1
Piping it to git rm is left as an excercise for the reader..