diff options
author | 2014-05-29 15:23:05 -0400 | |
---|---|---|
committer | 2014-05-29 15:23:05 -0400 | |
commit | 1f6cfecc972b121fa42ea80383183bbaccc2195a (patch) | |
tree | 0a450c4226f5e05c2a3597a9f520376de281fffe /doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn | |
parent | a95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014.
Command line used:
for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn')
-rw-r--r-- | doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn | 21 |
1 files changed, 0 insertions, 21 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 deleted file mode 100644 index 471a698a0..000000000 --- a/doc/bugs/add_range_argument_to___34__git_annex_dropunused__34___.mdwn +++ /dev/null @@ -1,21 +0,0 @@ -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 - -> It's designed to be used with `seq`. There's an example in the -> [[walkthrough|walkthrough/unused_data]], and of course multiple seq calls can be used to -> specifiy multiple ranges. So: - - git annex dropunused `seq 1 9` `seq 11 1845` - -> I don't see adding my own range operations to be an improvement worth -> making; it'd arguably only be a complication. --[[Joey]] [[done]] - ->> Actually, this did get implemented, since using seq could fall afoul ->> of command-line length limits in extreme cases. |