I've made some changes to flickrannex to allow the sub-directories above the uploaded image to be added as tags. This change has been merged into trunk: [[https://github.com/TobiasTheViking/flickrannex]]
What I needed was both the environment variables mentioned above. One is set as part of the annex-hook and the other I guestimate from the file path. If it was set in git-annex it would be much cleaner (and accurate). So...I think this info would be useful for other hook.
+
+> I think this was referring to the old hook special remote. External
+> special remotes have supplanted that. And when using an external special
+> remote you can query for such data once when starting your special remote
+> program, so no need for git-annex to do it. [[wontfix|done]] --[[Joey]]