aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn
blob: 663549ee2816054e5b7be3bb1a3515b33d7765e7 (plain)
1
2
3
4
5
I've been searching around and can't find this. I don't need `git annex unused`, but something that'll list the files I should "git rm".

The best solution I've found so far is:

    git annex whereis|grep '0 copies.*failed'|perl -pe 's/^whereis (.*?) \(0 copies\) failed$/$1/'