diff --git a/doc/tips/publishing_your_files_to_the_public/comment_4_37405f20da790141187e9f780c999448._comment b/doc/tips/publishing_your_files_to_the_public/comment_4_37405f20da790141187e9f780c999448._comment new file mode 100644 index 0000000000..2855c3fddf --- /dev/null +++ b/doc/tips/publishing_your_files_to_the_public/comment_4_37405f20da790141187e9f780c999448._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="BojanNikolic" + subject="comment 4" + date="2015-02-27T09:55:15Z" + content=""" +Many thanks. The command line I ended up using is: + + fname=\"2015/01/04/myfile.pdf\" ; git annex copy --to pubweb $fname; key=`git annex lookupkey \"$fname\"`; git annex examinekey $key --format 'https://www.myweb.com/d/${hashdirlower}${key}/${key}\n' + +to publish selected documents in my git-annex repository onto the web via a rsync special remote on a conventional http server. +"""]]