Skip to content

A maintained fork of PyAmazonCloudDrive (pyacd), a 3rd-party Python library for accessing Amazon Cloud Drives.

License

Notifications You must be signed in to change notification settings

mhluongo/amazon-cloud-drive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*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 [email protected] -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'

About

A maintained fork of PyAmazonCloudDrive (pyacd), a 3rd-party Python library for accessing Amazon Cloud Drives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%