Remove obsolete shell scripts

The commandline interface now supersedes these scripts.
This commit is contained in:
eikek
2021-08-20 00:23:37 +02:00
parent 30dec30450
commit 461ae74c28
19 changed files with 49 additions and 2075 deletions

View File

@ -167,7 +167,9 @@ directories.
The `watch` subcommand can be used to watch one or more directories
and upload files when they arrive. It uses the `upload` command under
the hood and therefore most options are also available here.
the hood and therefore most options are also available here. You can
upload via a source url, the integration endpoint or a valid session
(requires to login).
It detects file creations and skips a rename within a watched folder.
The flag `-r` or `--recursive` is required to recursively watch a
@ -191,6 +193,10 @@ If watching a directory is not possible due to system constraints
use the `upload` subcommand with `--poll` option which periodically
traverses a directory.
When using the integration endpoint, it requires to specify `-i` and
potentially a secret if the endpoint is protected with a secret.
## Download files
The `download` command allows to download files that match a given
@ -303,7 +309,8 @@ commands require the [admin
secret](@/docs/configure/_index.md#admin-endpoint) either in the
config file or as an argument.
Reset user password:
### Reset user password
``` shell
dsc admin reset-password --account demo
┌─────────┬──────────────┬──────────────────┐
@ -313,7 +320,8 @@ Reset user password:
└─────────┴──────────────┴──────────────────┘
```
Recreate fulltext index:
### Recreate fulltext index
``` shell
dsc admin --admin-secret admin123 recreate-index
┌─────────┬─────────────────────────────────────┐
@ -323,6 +331,34 @@ Recreate fulltext index:
└─────────┴─────────────────────────────────────┘
```
### Convert all files to PDF
``` shell
dsc admin --admin-secret admin123 convert-all-pdf
┌─────────┬─────────────────────────────────┐
│ success │ message │
├─────────┼─────────────────────────────────┤
│ true │ Convert all PDFs task submitted │
└─────────┴─────────────────────────────────┘
```
This may be necessary if you disabled pdf conversion before and are
enabling it now.
### Regenerate preview images
``` shell
dsc admin --admin-secret admin123 convert-all-pdf
┌─────────┬───────────────────────────────────────┐
│ success │ message │
├─────────┼───────────────────────────────────────┤
│ true │ Generate all previews task submitted. │
└─────────┴───────────────────────────────────────┘
```
This submits tasks to (re)generate preview images of all files. This
is necessary if you changed the `preview.dpi` setting in joex'
config.
## Search for items
The `search` command takes a [query](@/docs/query/_index.md) and