From 6da7f26e2a7542be127c03d237d22fa6aacd2748 Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 31 May 2021 18:59:15 +0000 Subject: [PATCH] --- .../size_limits_for_drop__47__move__47__copy__47__get.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/size_limits_for_drop__47__move__47__copy__47__get.mdwn diff --git a/doc/todo/size_limits_for_drop__47__move__47__copy__47__get.mdwn b/doc/todo/size_limits_for_drop__47__move__47__copy__47__get.mdwn new file mode 100644 index 0000000000..a93f700df5 --- /dev/null +++ b/doc/todo/size_limits_for_drop__47__move__47__copy__47__get.mdwn @@ -0,0 +1,7 @@ +It'd be very useful if you could specify a size limit for drop/move/copy/get-type operations. `git annex move --to other --limit 1G` would move at most 1G of data to the other repo for example. + +This way you could quickly "garbage collect" a few dozen GiB from your annex repo when you're running out of space without dropping everything for example. + +Another issue this could be used to mitigates is that, for some reason, git-annex doesn't auto-stop the transfer when the repos on my external drives are full properly. + +I imagine there are many more use-cases where quickly being able to set a limit for the amount of data a command should act on could come in handy.