From 93164fcf419f1cd674f075337dc0624581234729 Mon Sep 17 00:00:00 2001 From: avar Date: Wed, 28 Dec 2016 00:08:07 +0000 Subject: [PATCH] --- doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn diff --git a/doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn b/doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn new file mode 100644 index 0000000000..663549ee28 --- /dev/null +++ b/doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn @@ -0,0 +1,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/' -- 2.30.2