follow the existing examples

This commit is contained in:
https://id.koumbit.net/anarcat 2015-05-27 23:48:02 +00:00 committed by admin
parent 0a15282a62
commit d5b4bf57e5

View file

@ -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>