summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkju1sxeJoVVa04plfuhH4Dp8KJOA-Gu_g <Niels@web>2011-02-27 13:59:42 +0000
committerGravatar admin <admin@branchable.com>2011-02-27 13:59:42 +0000
commit715faa86afcaca5ffc8f0af24a06cf9cabf54619 (patch)
tree1cd899d7e2b90b37c797ad9366df58c363245415 /doc/bugs
parent9e74d3bfc341c142b6ea14a173640831dca14450 (diff)
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn b/doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn
new file mode 100644
index 000000000..97b04e292
--- /dev/null
+++ b/doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn
@@ -0,0 +1,9 @@
+The command `git annex dropunused` currently takes a number, as referenced in output of last `git annex unused` command.
+
+When you want to drop all, or a range, this may be annoying, as you have to specify each number on the command line.
+
+A range argument, such as `1-1845`, possibly combined with other argument types (Cf. many print dialogues: `1,3,5-7,9`) would be great.
+
+I work around this lack as I want to drop all unused files anyway by something like this:
+
+ git annex unused | grep -o -P "^ [0-9]+" | xargs git annex dropunused