-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathREADME
83 lines (55 loc) · 3.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
*NOTE*: This is a fork of the PyAmazonCloudDrive project located at http://code.google.com/p/pyamazonclouddrive/. All credit goes to the original author, whose name I believe to be Sakurai Youhei <http://d.hatena.ne.jp/sakurai_youhei/>. I just wanted it in git so I could use it in a different project. Although development appears to have stalled, I'll import any changes from the original in the "upstream" branch.
----
PyAmazonCloudDrive? (pyacd) is 3rd-party Python library for accessing "Amazon Cloud Drive".
Now this is just an experimental project, but a GOAL is a few line upload-download like "boto".
######################################################
# *WARNING* Amazon Cloud Drive: Terms of Use
######################################################
http://www.amazon.com/gp/help/customer/display.html/?nodeId=200557360
6. Software
you may not ... (f) modify, reverse engineer, decompile or disassemble, or
otherwise tamper with, the Software, whether in whole or in part, or create
any derivative works from or of the Software.
######################################################
# *WARNING* device limit (up to eight devices.)
######################################################
http://www.amazon.com/gp/help/customer/display.html/?ie=UTF8&nodeId=200557340\n
Frequently Asked Questions
How many devices can I use to access the files I've stored in my Cloud Drive?
######################################################
# Installation of pyacd
######################################################
(1) Checkout repository with svn. (Execute following command.)
svn checkout http://pyamazonclouddrive.googlecode.com/svn/trunk/pyacd /path/to/your/pylibdir
(2) If you use python 2.5.x (or lower version one) and
you have not ever used simplejson library, also execute
following one.
svn checkout http://pyamazonclouddrive.googlecode.com/svn/trunk/simplejson /path/to/your/pylibdir
(3) Read source in pyacd.
Use the Source, Luke.
######################################################
# Installation and Usage of acdxxx.py
######################################################
(1) Checkout whole repository with svn. (Execute following command.)
svn checkout http://pyamazonclouddrive.googlecode.com/svn/trunk/ ~/pyacd
export PATH=$PATH:~/pyacd
(2) Upload files in somewhere.
acdmkdir.py -e someone@example.com -p xxxx -s ~/.acdsession somewhere
ls -F somewhere|grep -v /|sed "s/[\*|@]$//g"|sed "s/^/somewhere\//g"|acdput.py -s ~/.acdsession -d somewhere -
(3) Download files to somewhere_else.
mkdir somewhere_else
acdlist.py -s ~/.acdsession -t FILE somewhere|sed "s/^/somewhere\//g"|acdget.py -s ~/.acdsession -d somewhere_else -
(4) See also help.
acdget.py --help
acdlist.py --help
acdmkdir.py --help
acdrecycle.py --help
acdput.py --help
acdcat.py --help
(5) Alias if you need.
alias acdget='acdget.py -s ~/.acdsession -q'
alias acdlist='acdlist.py -s ~/.acdsession -q'
alias acdmkdir='acdmkdir.py -s ~/.acdsession -q'
alias acdrecycle='acdrecycle.py -s ~/.acdsession -q'
alias acdput='acdput.py -s ~/.acdsession -q'
alias acdcat='acdcat.py -s ~/.acdsession -q'