Coder Social home page Coder Social logo

ncc_cli's Introduction

ncc_cli

NextCloud / ownCloud Command-Line Client

Overview

Just a basic command-line client for NextCloud and ownCloud based servers. This is my project with Python so if you notice any bugs or would like to provide help, please let me know!

Installation

pip:

ncc_cli has been added to pip, so you can simply execute the following:

pip install ncc-cli

manual:

Alternatively, you can install the utility manually, but first you will need to install the following dependancies:

humanize tzdm yaspin texttable pyocclient

Now you have all of the dependancies installed, you can simply clone the ncc_cli git repo and execute the following:

./setup.py

Usage

Syntax: ncc [command]

ls (-l)

- lists dir contents put - [local file] - uploads file putdir - [local dir] - uploads dir get - [remote file] - downloads file getdir - [remote dir] - downloads dir as zip mkdir - [dir name] - creates new dir rm - [dir/file name] - deletes files or dirs mkshare - [dir/file name] - creates new share w/link lsshare - [dir name] - lists shares in dir rmshare - [dir/file name] - deletes share cp - [source] [destination] - copies files on server mv - [source] [destination] - moves files on server

To Do

  • Find a way of tracking upload progress and counting with tqdm instead of using indefinite spinner.

Libraries

This utility uses the pyocclient library and a couple of other libraries for visual indications, human readable numbers, progress bars etc. Much thanks to all of the developers of their respective libraries.

pyocclient - https://github.com/owncloud/pyocclient

humanize - https://github.com/jmoiron/humanize

tqdm - https://github.com/tqdm/tqdm

yaspin - https://github.com/pavdmyt/yaspin

texttable - https://github.com/foutaise/texttable

License

This utility is licensed under the GNU GPLv3 https://www.gnu.org/licenses/gpl-3.0.en.html

ncc_cli's People

Contributors

jdhirst avatar nachter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.