From f6e7037c0ccdf646d1ca955c48cece814f5700a4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 27 Jul 2014 18:52:42 -0400 Subject: resume interrupted chunked downloads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leverage the new chunked remotes to automatically resume downloads. Sort of like rsync, although of course not as efficient since this needs to start at a chunk boundry. But, unlike rsync, this method will work for S3, WebDAV, external special remotes, etc, etc. Only directory special remotes so far, but many more soon! This implementation will also properly handle starting a download from one remote, interrupting, and resuming from another one, and so on. (Resuming interrupted chunked uploads is similarly doable, although slightly more expensive.) This commit was sponsored by Thomas Djärv. --- doc/chunking.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/chunking.mdwn') diff --git a/doc/chunking.mdwn b/doc/chunking.mdwn index 1be1fbef6..d1dce317c 100644 --- a/doc/chunking.mdwn +++ b/doc/chunking.mdwn @@ -4,6 +4,8 @@ chunks that are stored on the remote. This can be useful to work around limitations on the size of files on the remote. +Chunking also allows for resuming interrupted downloads and uploads. + Note that git-annex has to buffer chunks in memory before they are sent to a remote. So, using a large chunk size will make it use more memory. -- cgit v1.2.3