migrate: support adding size back to URL keys
migrate: Support adding size to URL keys that were added with --relaxed, by running eg: git-annex migrate --backend=URL foo Since url keys cannot be generated, that used to fail. Make it notice that the backend is not changed, and just get the size of the content. Sponsored-by: Brock Spratlen on Patreon
This commit is contained in:
parent
cb9bb2027c
commit
86dbe9a825
5 changed files with 59 additions and 24 deletions
|
@ -82,6 +82,10 @@ format.
|
|||
|
||||
git-annex migrate --remove-size --backend=URL somefile
|
||||
|
||||
To add back the size to an URL key, use this:
|
||||
|
||||
git-annex migrate --backend=URL somefile
|
||||
|
||||
* `--json`
|
||||
|
||||
Enable JSON output. This is intended to be parsed by programs that use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue