summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist__58___Add_--byte-limit_option.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
commitca10c06819aacc50d4423836ce51fc4486803789 (patch)
treee96072aef36f12d28d715fd4b7396d3fea4eef4c /doc/todo/wishlist__58___Add_--byte-limit_option.mdwn
parent024dd384140b25f69defd762e41fd5e4af4f3567 (diff)
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git. But, bash completion is also crap with : , so ..
Diffstat (limited to 'doc/todo/wishlist__58___Add_--byte-limit_option.mdwn')
-rw-r--r--doc/todo/wishlist__58___Add_--byte-limit_option.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/wishlist__58___Add_--byte-limit_option.mdwn b/doc/todo/wishlist__58___Add_--byte-limit_option.mdwn
new file mode 100644
index 000000000..28642b50d
--- /dev/null
+++ b/doc/todo/wishlist__58___Add_--byte-limit_option.mdwn
@@ -0,0 +1,14 @@
+This option is related to `--time-limit`, but stops after processing X
+bytes. For example, I often need to free up a certain amount of space on
+a disk and want `git-annex move` to stop after it has copied a specified
+amount of data:
+
+ git annex move --to otherdisk --byte-limit 3G
+ git annex drop --auto --byte-limit 500m
+ git annex get --byte-limit 500m
+
+I've been using some `annex.diskreserve` trickery now and then to
+accomplish this, but it's a bit cumbersome and also not a very precise
+way to specify the amount I want to copy/move/get. The last example
+would also be a useful command to limit the traffic when I'm connecting
+via mobile – get as much as possible, but don't blow the mobile quota.