summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-28 12:45:58 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-28 12:45:58 -0400
commit27b02b8e03e7c8718af113afa70ea0edb35ee1c1 (patch)
tree320c080fafea320d804463d2c0db28e18e069f47
parent8403b3d4677a13c2252c833b377d3fb0f187e1df (diff)
parentd982a892fad0e6c36ef240d4900bdd30204653f7 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/git-annex-drop/comment_3_16095aad685d142672911e799450634a._comment14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/git-annex-drop/comment_3_16095aad685d142672911e799450634a._comment b/doc/git-annex-drop/comment_3_16095aad685d142672911e799450634a._comment
new file mode 100644
index 000000000..13ac15c7e
--- /dev/null
+++ b/doc/git-annex-drop/comment_3_16095aad685d142672911e799450634a._comment
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="zpeters"
+ avatar="http://cdn.libravatar.org/avatar/a8695228ff82f18c9a43c0763194c1cd"
+ subject="RE: choosing remotes and annex-cost-command"
+ date="2017-02-28T01:10:05Z"
+ content="""
+Finally got around to playing with this today figured i'd post an example for anyone looking fr this in the future. Please forgive the TCL code if that isn't your thing.
+
+1. Adding the \"cost command\" to your remotes - Example here <https://gist.github.com/zpeters/d288531db95aa69a495944a261d17b1c>
+2. The actual script being referenced is really basic. It's basically taking the name of the remote as an argument and depending on where i am it will give that remote a \"high\" or \"low\" cost. Code here <https://gist.github.com/zpeters/89ba09289c89225ae5344e65c3562e6c>
+3. The cost script needs to know if I'm \"home\" or not. Here is an example of \"whereami\" <https://gist.github.com/zpeters/cb8c2be53fd41b4d04a78fe81aaaea58>
+
+
+"""]]