This commit is contained in:
Joey Hess 2023-06-23 12:41:32 -04:00
parent 5a257dba88
commit e15ad92689
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 15 additions and 1 deletions

View file

@ -5,4 +5,4 @@ I have a bunch of files I want to track with `git-annex` that are sitting in an
The proposed `--to=remote` option would add the files to my repo as `import` normally does, but it wouldn't every keep the content in the repo, the only copy would now sit in `s3-remote`. As little disk space as possible would be staged temporarily in `~/my-laptop-repo`. Perhaps the easiest option would be to import a file normally, but them immediately do a `move` to `s3-remote`? But, ideally for larger files, we would want to stream them directly from `/mnt/usb-drive/myfiles` to `s3-remote` without ever staging them at `~/my-laptop-repo`.
[[!tag unlikely needsthought]]
> [[done]] --[[Joey]]

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="joey"
subject="""comment 5"""
date="2023-06-23T16:38:50Z"
content="""
It's now possible to `git-annex import --no-content --from
a-directory-special-remote`. So then you have the files sitting on the
external drive and not filling up the git repository.
And `git-annex copy --from foo --to bar` is also supported, so you can
use that to send the files over the S3 or wherever.
So, I think this todo can be closed.
"""]]