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 :

$ linsharecli-config generate

or for the admin script:

$ linshareadmcli-config generate

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.

Advanced usage :

You can have multiple configuration using multiple sections, ex:

[server-my-second-config]

# Attribute (str) : HOST

;host=

The you can use it through the -s option:

$ linshareadmcli -s my-second-config domains list

You can also list all available configurations using:

$ linshareadmcli list

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-1.1.3.tar.gz (83.8 kB view details)

Uploaded Source

File details

Details for the file linsharecli-1.1.3.tar.gz.

File metadata

  • Download URL: linsharecli-1.1.3.tar.gz
  • Upload date:
  • Size: 83.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for linsharecli-1.1.3.tar.gz
Algorithm Hash digest
SHA256 7686ff8475d3f81dd490792141e179f1291d3456838094602664bf60627114f0
MD5 2001e224dfaa165bb630c7475821a1cf
BLAKE2b-256 d83db7682dd1d5a35b2b8ac076bf95aabf0b635c93da20d6f18f07057baf182b

See more details on using hashes here.

Supported by

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