From 62a272b330550a5db4836fd8104ca4b6a2032e39 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Apr 2013 17:28:25 -0400 Subject: Automatically register public urls for files uploaded to the Internet Archive. --- doc/preferred_content.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3