Script "nc-occ" - interactive occ interface


  • brings you the occ feature you have always wanted and missed most, without even knowing.
  • is a wrappper for occ.
  • interactively creates your occ commands.

Whenever you need to quickly make an occ task but you don’t want to look up the manual for the exact call syntax. Just call nc-occ and get started interactively.
It’s basically just a wrapper, but it can make your life a lot easier.
This is the first ebtb script with all-in-one support but since it is still rudimentary, it is only for the most basic installation, no docker rootles or other diferent setups are tested yet.
Nextcloud All-in-One is supported, containerized solutions other than AIO are not (yet) supported

This script was created with ebtb.

Install it this way:

sudo wget -O /usr/local/bin/nc-occ
sudo chmod +x /usr/local/bin/nc-occ

- the first line downloads the script into the directory /usr/local/bin
- the second line makes it executable

You only need to install it once.
As all of my → ebtb ← scripts, it comes signed and does an integrity check on the first run and checks for updates on every startup.

Simply run it:


This is the help output:

~# nc-occ --help

    Simply run


    to create your occ commands interactively.

    Possible options:

        -h | --help
                this help message
        -a | --all_options
                include the unimportant options
                help, quiet, verbose, version, ansi, no-ansi, no-interaction, no-warnings
                show the help output from the commands instead of brief usage message

I really hope that this tool will make your life easier and save you a lot of searching and time in future.

Much and good luck,