aboutsummaryrefslogtreecommitdiff
path: root/doc/preferred_content.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-25 17:28:25 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-25 17:28:25 -0400
commit62a272b330550a5db4836fd8104ca4b6a2032e39 (patch)
treead3c5d8c09db7b66a0802e72cd8d2a19311601a0 /doc/preferred_content.mdwn
parent1d85171e595ca376fcb23687a39cfd93c74483d8 (diff)
Automatically register public urls for files uploaded to the Internet Archive.
Diffstat (limited to 'doc/preferred_content.mdwn')
-rw-r--r--doc/preferred_content.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/preferred_content.mdwn b/doc/preferred_content.mdwn
index ca2d4d207..de28d0729 100644
--- a/doc/preferred_content.mdwn
+++ b/doc/preferred_content.mdwn
@@ -72,6 +72,15 @@ Note that `not present` is a very bad thing to put in a preferred content
expression. It'll make it prefer to get content that's not present, and
drop content that is present! Don't go there..
+### difference: "inmydir"
+
+There's a special "inmydir" keyword you can use in a preferred content
+expression of a special remote. This means that the content is preferred
+if it's in a directory (located anywhere in the tree) with a special name.
+
+The name of the directory can be configured using
+`git annex initremote $remote mydir=$dirname`
+
## standard expressions
git-annex comes with some standard preferred content expressions, that can