https://github.com/cubiclesoft/cloud-storage-tools
Useful tools to access Cloud Storage Server APIs directly from the command-line.
https://github.com/cubiclesoft/cloud-storage-tools
Last synced: about 1 year ago
JSON representation
Useful tools to access Cloud Storage Server APIs directly from the command-line.
- Host: GitHub
- URL: https://github.com/cubiclesoft/cloud-storage-tools
- Owner: cubiclesoft
- Created: 2018-04-24T13:40:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T18:08:52.000Z (over 3 years ago)
- Last Synced: 2025-03-24T11:44:49.221Z (about 1 year ago)
- Language: PHP
- Size: 265 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Support: support/cacert.pem
Awesome Lists containing this project
README
Cloud Storage Tools
===================
A suite of useful tools to access [Cloud Storage Server](https://github.com/cubiclesoft/cloud-storage-server) directly from the command-line.
[](https://cubiclesoft.com/donate/) [](https://cubiclesoft.com/product-support/github/)
Features
--------
* User profile management.
* Complete /files SDK and API coverage. Manage, upload, and download files and folders.
* A complete, question/answer enabled command-line interface. Nothing to compile.
* Has a liberal open source license. MIT or LGPL, your choice.
* Designed for relatively painless integration into your project.
* Sits on GitHub for all of that pull request and issue tracker goodness to easily submit changes and ideas respectively.
Getting Started
---------------
The easiest way to get started is to play with the command-line interface. The command-line interface is question/answer enabled, which means all you have to do is run:
````
php cs-tools.php
````
Once you grow tired of manually entering information, you can pass in some or all of the answers to the questions on the command-line:
````
# Create a profile called 'my-profile'
php cs-tools.php profiles create my-profile
# Upload a directory recursively to a '/photos' folder from a Windows machine.
php cs-tools.php files upload my-profile src=C:\photos dest=/photos diff=Y delete=Y
# Download the folder recursively to '/var/data/sync-photos' on a Mac/Linux machine.
php cs-tools.php files download my-profile src=/photos dest=/var/data/sync-photos diff=Y delete=Y
````
The -s option suppresses normal output (except for fatal error conditions), which allows for the processed JSON result to be the only thing that is output.