reword again
On second thought, "unlocking" is confusable with git-annex unlock.
This commit is contained in:
parent
416c5e38e7
commit
dd207994bc
2 changed files with 11 additions and 11 deletions
|
@ -81,7 +81,7 @@ cipherKey (Just c) k = do
|
||||||
Nothing -> case extractCipher c of
|
Nothing -> case extractCipher c of
|
||||||
Nothing -> return Nothing
|
Nothing -> return Nothing
|
||||||
Just encipher -> do
|
Just encipher -> do
|
||||||
showNote "unlocking"
|
showNote "gpg"
|
||||||
cipher <- liftIO $ decryptCipher c encipher
|
cipher <- liftIO $ decryptCipher c encipher
|
||||||
Annex.changeState (\s -> s { Annex.cipher = Just cipher })
|
Annex.changeState (\s -> s { Annex.cipher = Just cipher })
|
||||||
ret cipher
|
ret cipher
|
||||||
|
|
|
@ -14,24 +14,24 @@ like "2512E3C7"
|
||||||
|
|
||||||
Next, create the S3 remote, and describe it.
|
Next, create the S3 remote, and describe it.
|
||||||
|
|
||||||
# git annex initremote mys3 type=S3 encryption=2512E3C7
|
# git annex initremote cloud type=S3 encryption=2512E3C7
|
||||||
initremote mys3 (checking bucket) (creating bucket in US) ok
|
initremote cloud (checking bucket) (creating bucket in US) ok
|
||||||
# git annex describe mys3 "at Amazon's US datacenter"
|
# git annex describe cloud "at Amazon's US datacenter"
|
||||||
describe mys3 ok
|
describe cloud ok
|
||||||
|
|
||||||
The configuration for the S3 remote is stored in git. So to make another
|
The configuration for the S3 remote is stored in git. So to make another
|
||||||
repository use the same S3 remote is easy:
|
repository use the same S3 remote is easy:
|
||||||
|
|
||||||
# cd /media/usb/annex
|
# cd /media/usb/annex
|
||||||
# git pull laptop master
|
# git pull laptop master
|
||||||
# git annex initremote mys3
|
# git annex initremote cloud
|
||||||
initremote mys3 (checking bucket) ok
|
initremote cloud (checking bucket) ok
|
||||||
|
|
||||||
Now the remote can be used like any other remote.
|
Now the remote can be used like any other remote.
|
||||||
|
|
||||||
# git annex copy my_cool_big_file --to mys3
|
# git annex copy my_cool_big_file --to cloud
|
||||||
copy my_cool_big_file (unlocking) (checking mys3...) (to mys3...) ok
|
copy my_cool_big_file (gpg) (checking cloud...) (to cloud...) ok
|
||||||
# git annex move video/hackity_hack_and_kaxxt.mov --to mys3
|
# git annex move video/hackity_hack_and_kaxxt.mov --to cloud
|
||||||
move video/hackity_hack_and_kaxxt.mov (unlocking) (checking mys3...) (to mys3...) ok
|
move video/hackity_hack_and_kaxxt.mov (gpg) (checking cloud...) (to cloud...) ok
|
||||||
|
|
||||||
See [[special_remotes/Amazon_S3]] for details.
|
See [[special_remotes/Amazon_S3]] for details.
|
||||||
|
|
Loading…
Add table
Reference in a new issue