yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link
amazon-drive fuse-filesystem

|Donate| |Gitter| |PyVersion| |Status| |License| |Build| |PyPiVersion|

acd_cli

acd_cli provides a command line interface to Amazon Drive and allows Unix users to mount their drive using FUSE for read and (sequential) write access. It is currently in beta stage.

Node Cache Features

CLI Features

File Operations


- upload/download of single files and directories
- streamed upload/download
- folder creation
- trashing/restoring
- moving/renaming nodes

Documentation
-------------

The full documentation is available at `<https://acd-cli.readthedocs.io>`_.

Quick Start
-----------

Have a look at the `known issues`_, then follow the `setup guide <docs/setup.rst>`_ and
`authorize <docs/authorization.rst>`_. You may then use the program as described in the
`usage guide <docs/usage.rst>`_.

CLI Usage Example
-----------------

In this example, a two-level folder hierarchy is created in an empty drive.
Then, a relative local path ``local/spam`` is uploaded recursively using two connections.
::

    $ acd_cli sync
      Getting changes...
      Inserting nodes..

    $ acd_cli ls /
      [PHwiEv53QOKoGFGqYNl8pw] [A] /

    $ acd_cli mkdir /egg/
    $ acd_cli mkdir /egg/bacon/

    $ acd_cli upload -x 2 local/spam/ /egg/bacon/
      [################################]   100.0% of  100MiB  12/12  654.4KB/s

    $ acd_cli tree
      /
          egg/
              bacon/
                  spam/
                      sausage
                      spam
      [...]

The standard node listing format includes the node ID, the first letter of its status
and its full path. Possible statuses are "AVAILABLE" and "TRASH".

Known Issues
------------

It is not possible to upload files using Python 3.2.3, 3.3.0 and 3.3.1 due to a bug in
the http.client module.

API Restrictions

Contribute

Have a look at the contributing guidelines <CONTRIBUTING.rst>_.

Recent Changes

0.3.3 (upcoming)


* stat
* Appspot OAuth proxy switch

0.3.2

0.3.1


* general improvements for FUSE
* FUSE write support added
* added automatic logging
* sphinx documentation added

0.3.0

0.2.2


* sync speed-up
* node listing format changed
* optional node listing coloring added (for Linux or via LS_COLORS)
* re-added possibility for local OAuth

0.2.1

0.2.0



* setuptools support
* workaround for download of files larger than 10 GiB
* automatic resuming of downloads

.. |Donate| image:: https://img.shields.io/badge/paypal-donate-blue.svg
   :alt: Donate via PayPal
   :target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V4V4HVSAH4VW8

.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg
   :alt: Join the Gitter chat
   :target: https://gitter.im/yadayada/acd_cli

.. |PyPiVersion| image:: https://img.shields.io/pypi/v/acdcli.svg
   :alt: PyPi
   :target: https://pypi.python.org/pypi/acdcli

.. |PyVersion| image:: https://img.shields.io/badge/python-3.2+-blue.svg
   :alt:

.. |Status| image:: https://img.shields.io/badge/status-beta-yellow.svg
   :alt:

.. |License| image:: https://img.shields.io/badge/license-GPLv2+-blue.svg
   :alt:

.. |Build| image:: https://img.shields.io/travis/yadayada/acd_cli.svg
   :alt:
   :target: https://travis-ci.org/yadayada/acd_cli