From e9ffa95fab2fd28fbb3d129a5fae01678beb03e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Feb 2024 13:48:29 -0400 Subject: [PATCH] comment --- ..._adebe3ba65ba9fc0a4a7f4b664afc069._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/how_to___34__move__34___URL_between_remotes__63__/comment_3_adebe3ba65ba9fc0a4a7f4b664afc069._comment diff --git a/doc/forum/how_to___34__move__34___URL_between_remotes__63__/comment_3_adebe3ba65ba9fc0a4a7f4b664afc069._comment b/doc/forum/how_to___34__move__34___URL_between_remotes__63__/comment_3_adebe3ba65ba9fc0a4a7f4b664afc069._comment new file mode 100644 index 0000000000..b6772525ad --- /dev/null +++ b/doc/forum/how_to___34__move__34___URL_between_remotes__63__/comment_3_adebe3ba65ba9fc0a4a7f4b664afc069._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2024-02-05T17:33:32Z" + content=""" +The commands you would need do all support --batch, so it seems very +scriptable. + +I'm struggling a bit with the idea of a dedicated git-annex command for +this, because it seems a fairly unusual situation. + +Maybe `git-annex registerurl could have a switch that says to move urls +from remote foo to the web special remote? That would avoid needing to +query for the urls. + + git-annex registerurl --move-from=foo $key + +Since registering an url also marks it present, all you would need after +that is to mark it as not present any longer on your special remote. +"""]]