Skip to main content

LinShare command line interface.

Project description

Description

This package contains the [LinShare](http://linshare.org “Open Source secure files sharing application”) command line interface.

This module contains two scripts :

  • linsharecli : the user cli.

    You can use this script to upload, download or delete documents stored in LinShare.

  • linshareadmcli : the admin cli.

    This script let you configure LinShare server through the command line. Domains, ldap connections, functionnalities, and more can be displayed or updated through this tool.

Installation

You can install this module using : pip install linsharecli.

QuickStart :

$ linsharecli.py --user myuser --host https://my.server.com/linshare -P password documents list

If you want to use a configuration file to preset the server, your login or some addditional parameters, you can generate the default configuration file like this :

$ argtoolboxtool generate linsharecli

or for the admin script:

$ argtoolboxtool generate linshareadmcli

The configuration file, by default ~/.linshare-cli.cfg will contains a section called “server” :

[server]

# Attribute (str) : HOST

;host=

Each lines which begins with “#” or “;” are comments. “str” is the type of data we are expecting, str for string, bool for boolean (true, false) or int for integer. Every optional attributes, like host, are prefixed by “;”. Mandatory attributes are not prefixed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linsharecli-0.2.11.tar.gz (30.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page