aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-drop
diff options
context:
space:
mode:
authorGravatar zpeters <zpeters@web>2017-02-28 01:10:05 +0000
committerGravatar admin <admin@branchable.com>2017-02-28 01:10:05 +0000
commitd982a892fad0e6c36ef240d4900bdd30204653f7 (patch)
tree0922ede7d74727548fb3e8b5e383366fd9927a0f /doc/git-annex-drop
parent06eb18d6491b9305e7cfbd1ebf3cd62adc701ed2 (diff)
Added a comment: RE: choosing remotes and annex-cost-command
Diffstat (limited to 'doc/git-annex-drop')
-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>
+
+
+"""]]