diff options
Diffstat (limited to 'doc/tips/publishing_your_files_to_the_public/old_method/comment_4_37405f20da790141187e9f780c999448._comment')
-rw-r--r-- | doc/tips/publishing_your_files_to_the_public/old_method/comment_4_37405f20da790141187e9f780c999448._comment | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/tips/publishing_your_files_to_the_public/old_method/comment_4_37405f20da790141187e9f780c999448._comment b/doc/tips/publishing_your_files_to_the_public/old_method/comment_4_37405f20da790141187e9f780c999448._comment new file mode 100644 index 000000000..2855c3fdd --- /dev/null +++ b/doc/tips/publishing_your_files_to_the_public/old_method/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. +"""]] |