This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawkju1sxeJoVVa04plfuhH4Dp8KJOA-Gu_g 2011-02-27 13:59:42 +00:00 committed by admin
parent 9e74d3bfc3
commit 715faa86af

View file

@ -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