Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/previewgenerator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2022-05-11 13:15:10 +0300
committerGitHub <noreply@github.com>2022-05-11 13:15:10 +0300
commit17d16517f1df78c058b33265462f5f63f4e1f941 (patch)
treebf18e163d88be7a4ed84733958004397c41df225
parent948342b9a4a6cad3e92851d50cd66383e44bb030 (diff)
Improve documentation of generate-all command
Fix #144 Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 57f3abe..b072e6a 100644
--- a/README.md
+++ b/README.md
@@ -43,10 +43,12 @@ This removes the previews from the old preview location that was used before
Nextcloud 11. That has some issues. Note that the gallery shipped with Nextcloud
11 did not yet use this location. So you might want to run it again with Nextcloud 12.
-### preview:generate-all [user-id]
+### preview:generate-all [--path=PATH ...] [user_id ...]
-Loop over all files and try to generate previews for them. If `user-id` is supplied
-just loop over the files for that user.
+Loop over all files and try to generate previews for them. If one or multiple user ids are supplied
+it will just loop over the files of those users. You can also limit the generation to one or more
+paths using `--path="/[username]/files/[folder path]"`, e.g. `--path="/alice/files/Photos"`. Note that
+all given user_ids are ignored if at least one path is specified.
### preview:pre-generate