follow the existing examples
This commit is contained in:
parent
0a15282a62
commit
d5b4bf57e5
1 changed files with 2 additions and 3 deletions
|
@ -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*:
|
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>
|
<pre>
|
||||||
bucket=yourbucketname
|
git annex find --in public-s3 | while read file ; do
|
||||||
find * -type l | while read file ; do
|
|
||||||
key=$(git annex lookupkey $file)
|
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
|
done | git annex registerurl
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue