This commit is contained in:
Joey Hess 2022-08-11 13:59:37 -04:00
parent 0059cb17f6
commit 425deaf615
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,24 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-08-11T17:54:16Z"
content="""
There is not, but if you can find a way to get wget or something to
generate a list of urls and the files it downloaded them to, you can
feed that into `git-annex addurl --batch` to teach git-annex what the urls
are.
There is a subsystem in git-annex that could in theory be used for this,
[[git-annex-import]] can import trees of files from a special remote.
But the complexity of mirroring a website makes me think I would not want
to try to support it in the web special remote. I mean, just look at how
many options wget has that you might use to control how the mirroring
works.
Other special remotes can support importing from specific types of websites
though. Currently this is limited to built-in special remotes, such as S3,
but it would be possible to expand it to support external special remotes
as well. See [[todo/importtree_only_remotes]] for discussion about doing
that.
"""]]