addurl: Include filename in --json-progress output when known.
This commit is contained in:
parent
e5a8d5effa
commit
38ddd6072d
3 changed files with 19 additions and 3 deletions
|
@ -11,3 +11,9 @@ $> git annex addurl --file bigone --json --json-progress https://s3.amazonaws.co
|
|||
Thanks in advance
|
||||
|
||||
[[!meta author=yoh]]
|
||||
|
||||
> In general addurl doesn't know the filename until after it's downloaded
|
||||
> the url (due to running youtube-dl on html urls), but when --file
|
||||
> or --batch --with-files is used, it does know the filename early.
|
||||
> So, made the json-progress include the filename when it's known.
|
||||
> [[done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue