diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-05-11 13:15:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 13:15:10 +0300 |
commit | 17d16517f1df78c058b33265462f5f63f4e1f941 (patch) | |
tree | bf18e163d88be7a4ed84733958004397c41df225 | |
parent | 948342b9a4a6cad3e92851d50cd66383e44bb030 (diff) |
Improve documentation of generate-all command
Fix #144
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |