summaryrefslogtreecommitdiff
path: root/doc/forum/Adding_a_URL_from_wayback_machine/comment_3_e53215cf79055bcd5540423323a4d388._comment
blob: ca62553e40fb9b171f0f425fe01cb2890a502e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[[!comment format=mdwn
 username="robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311"
 nickname="robert.schuetz"
 avatar="http://cdn.libravatar.org/avatar/89879460a9e84b9c736d982d9489d3d9"
 subject="comment 3"
 date="2017-12-09T11:50:24Z"
 content="""
I'm adding a file and later want to add a URL, that doesn't give a Content-Length header, to the file.

It is essantially the following:

    mkdir test
    cd test
    git init
    git annex init
    wget http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg
    git annex add
    git annex addurl \"http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg\" --file git-annex_views_demo.ogg

and the last command gives me the result

    addurl git-annex_views_demo.ogg 
      while adding a new url to an already annexed file, url does not have expected file size (use --relaxed to bypass this check) http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg
    failed
    git-annex: addurl: 1 failed
"""]]