Rename inject files to files_admin

This commit is contained in:
Martyn Alberts 2019-02-13 17:09:13 +01:00
parent d3c0f36c1b
commit d761329e40
6 changed files with 23 additions and 30 deletions

View File

@ -1,26 +0,0 @@
Inject-files.py
===============
Script to inject the files setting into the users profile.
Files backend supported
=======================
* SMB
* Owncloud
* Webddav
Examples
========
python inject-files -user test --file owncloud.cfg,smb.cfg
Use the username and password provided in the configfile
python inject-files -user test --file owncloud.cfg,smb.cfg --default

22
files_admin/README.md Normal file
View File

@ -0,0 +1,22 @@
# Files Admin
Files admin is a command-line interface to modify, inject and export kopano-files settings.
# Files backend supported
* SMB
* Owncloud
* Webddav
# Example Usage
Inject settings from owncloud and smb config file
> python files_admin -user John --file owncloud.cfg,smb.cfg
Use the username and password provided in the config file
> python files_admin -user John --file owncloud.cfg,smb.cfg --default
# Dependencies
- python-kopano
- python-mapi

View File

@ -2,7 +2,6 @@
import subprocess
from configobj import ConfigObj
import uuid
from MAPI.Util import *
import kopano
# Try simplejson if json is not available
@ -129,5 +128,4 @@ def main():
if __name__ == '__main__':
main()

View File

@ -1,5 +1,4 @@
[setting]
name = Owncloud share
type = Owncloud
workgroup =