diff options
author | 2016-12-28 00:08:07 +0000 | |
---|---|---|
committer | 2016-12-28 00:08:07 +0000 | |
commit | a3adc89e9c9874069532396434e648d3b727339d (patch) | |
tree | 10a08b507678d32d7052df1b27efdd6556324b37 | |
parent | fb44cb4fbaf918350f82b673d5569363a9423540 (diff) |
-rw-r--r-- | doc/forum/How_do_I_list_links_with_0_copies__63__.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
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 000000000..663549ee2 --- /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/' |