diff options
author | https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web> | 2015-05-27 23:48:02 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-05-27 23:48:02 +0000 |
commit | 6ae34f8f05538e64d3e17590305f9d86b0bd3c04 (patch) | |
tree | 318edd08a0da1b59e3f4bbeb859772add8ecd766 | |
parent | 964d6b263fb75f0805f1755121e488c3e973de4f (diff) |
follow the existing examples
-rw-r--r-- | doc/tips/publishing_your_files_to_the_public.mdwn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/tips/publishing_your_files_to_the_public.mdwn b/doc/tips/publishing_your_files_to_the_public.mdwn index 09f83bce0..d2c074503 100644 --- a/doc/tips/publishing_your_files_to_the_public.mdwn +++ b/doc/tips/publishing_your_files_to_the_public.mdwn @@ -67,10 +67,9 @@ Example: Assuming all files in the current directory are available on S3, this will register the public S3 url for the file in git-annex, making it available for everyone *through git-annex*: <pre> -bucket=yourbucketname -find * -type l | while read file ; do +git annex find --in public-s3 | while read file ; do key=$(git annex lookupkey $file) - echo $key https://$bucket.s3.amazonaws.com/$key + echo $key https://public-annex.s3.amazonaws.com/$key done | git annex registerurl </pre> |