summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar spiderbit <spiderbit@web>2016-11-05 17:00:54 +0000
committerGravatar admin <admin@branchable.com>2016-11-05 17:00:54 +0000
commitd2ca75d7f51eb722ecb9bb2ebaedb4284dff721b (patch)
treecf550c2c22c73fc3389fab6a730ae848c256cf04
parent7619419f52b161b6054f5e35ddcd38b9283fe1aa (diff)
Added a comment: dont have success with other download commands
-rw-r--r--doc/special_remotes/web/comment_3_e6ce9bb92c973350852c9498b7ffb50f._comment32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/special_remotes/web/comment_3_e6ce9bb92c973350852c9498b7ffb50f._comment b/doc/special_remotes/web/comment_3_e6ce9bb92c973350852c9498b7ffb50f._comment
new file mode 100644
index 000000000..01b1b2a1c
--- /dev/null
+++ b/doc/special_remotes/web/comment_3_e6ce9bb92c973350852c9498b7ffb50f._comment
@@ -0,0 +1,32 @@
+[[!comment format=sh
+ username="spiderbit"
+ avatar="http://cdn.libravatar.org/avatar/5c1baf041aa5516cb28a2618f7263a56"
+ subject="dont have success with other download commands"
+ date="2016-11-05T17:00:54Z"
+ content="""
+First a few questions:
+1. is this backend supposed to be recursive or does it supports that?
+2. does it need a download command in the following format:
+ <program> <url>
+
+I assumed this 2 are true.
+
+Well rsync, sftp and scp need a second <to> paramater, they did not work.
+
+So I wrote a small wrapper to add the default \".\" as target location:
+
+filename: rsync-get
+#!/usr/bin/env bash
+rsync -r \"$1\" .
+
+sadly still no sucess:
+
+~/annex $ git annex addurl -c annex.web-download-command=rsync-get mars:/mnt/data/folder/
+addurl _mnt_data_folder_ (downloading mars:/mnt/data/folder/ ...)
+failed
+git-annex: addurl: 1 failed
+CallStack (from HasCallStack):
+ error, called at ./CmdLine/Action.hs:41:28 in main:CmdLine.Action
+
+I also tried it with a url to a file, in the case that it not supports recursive operations, that did not work, too.
+"""]]