GitHunt
T-

t-markmann/nc-userimporter

This tool creates/deletes Nextcloud users from a CSV file, which you exported from some other software or created with a spreadsheet software. To disable/enable/delete users, try: https://github.com/t-markmann/nc-usermanager

About nc-userimporter

This tool synchronizes (add, update, delete) Nextcloud users from a CSV file, which you exported from some other software or created with a spreadsheet software.

Instructions

  1. Download and extract the zip-file

  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.
  3. Start the tool:

  4. Follow the interactive commandline instructions. Check output.log ("logs"-folder in script-directory) and your user overview in Nextcloud.

Output

Screenshot output example:

Generated PDF file with user credentials


ToDo

Open features, not yet implemented (help appreciated):

  • read config from CLI-input if config-file is empty; update config.xml with input values?
  • add other userdata

Languages

Python100.0%
GNU General Public License v3.0
Created April 28, 2019
Updated February 16, 2026
t-markmann/nc-userimporter | GitHunt