From d40c715c0fc1d7b779d4ace4a89d4f0e2bfb9868 Mon Sep 17 00:00:00 2001 From: "http://sunny256.sunbase.org/" Date: Sat, 7 Jun 2014 02:56:54 +0000 Subject: Suggest --byte-limit option --- doc/todo/wishlist:_Add_--byte-limit_option.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/todo/wishlist:_Add_--byte-limit_option.mdwn diff --git a/doc/todo/wishlist:_Add_--byte-limit_option.mdwn b/doc/todo/wishlist:_Add_--byte-limit_option.mdwn new file mode 100644 index 000000000..28642b50d --- /dev/null +++ b/doc/todo/wishlist:_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. -- cgit v1.2.3