Skip to content

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

License

Notifications You must be signed in to change notification settings

t-markmann/nc-userimporter

Repository files navigation

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.

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages