Giter VIP home page Giter VIP logo

nc-userimporter's Introduction

About nc-userimporter

This tool creates Nextcloud users from a CSV file, which you exported from some other software or created with a spreadsheet software.

Zip files with executables for Windows, MacOS, Linux available here: https://get.edudocs.org/de/assets/nc-userimporter/ - If you have a Python3 environment with all the dependencies/modules installed, you can run the script without the build of course.

Screenshot input: Screenshot from Windows commandline

Instructions

  1. Download and extract the zip-file for your operating system from https://get.edudocs.org/de/assets/nc-userimporter/

  2. Insert data:

    • config.xml: Insert your cloud-admin credentials into file config.xml. The user must have admin permissions in your Nextcloud.
    • users.csv: Insert the user data into the file users.csv or recreate it with the same columns in a spreadsheet software. (Specified groups must already exist!)

    Avoid special characters in username and password (including german umlauts) or test if the character is allowed first.

  3. Start the tool:

    • Windows: doubleclick nc-userimporter.exe. (built and tested with Win10 Pro 1803 64-bit)
    • Linux: doubleclick nc-userimporter or via terminal: change to the app-directory and execute: ./nc-userimporter (built and tested with Ubuntu 16.04 x86_64; tested with Fedora 29 x86_64, openSUSE Leap 15.0 x86_64, Arch) Troubleshooting: Make sure the file is executable (https://www.qwant.com/?q=make%20file%20executable%20linux)
    • Mac: doubleclick nc-userimporter. Answer the prompt with "open", ignore the warning. (built and tested with macOS 10.12 Sierra) Troubleshooting: Make sure the file is executable (https://www.qwant.com/?q=make%20file%20executable%20mac)
  4. Follow the interactive commandline instructions. Check output.log and your user overview in Nextcloud.

Output

Screenshot output:

Generated PDF file with user credentials


ToDo

Open features, not yet implemented (help appreciated):

nc-userimporter's People

Contributors

nicostuhlfauth avatar shen avatar t-markmann 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.