Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OC11] Modify doc for files:scan --groups #284

Closed
phil-davis opened this issue Jun 19, 2018 · 4 comments
Closed

[OC11] Modify doc for files:scan --groups #284

phil-davis opened this issue Jun 19, 2018 · 4 comments
Assignees

Comments

@phil-davis
Copy link
Contributor

owncloud/core#31719 proposes to modify the files:scan --groups option so that each of multiple groups are listed by specifying the option multiple times e.g.:

occ files:scan --group=foo --group=bar --group=a,b

This allows the sysadmin to scan a group that has a literal comma in its name - e.g. a,b

New help output is:

occ files:scan --help
Usage:
  files:scan [options] [--] [<user_id>]...

Arguments:
  user_id                Will rescan all files of the given user(s).

Options:
      --output[=OUTPUT]  The output format to use (plain, json or json_pretty, default is plain). [default: "plain"]
  -p, --path=PATH        Limit rescan to this path, e.g., --path="/alice/files/Music", the user_id is determined by the path and the user_id parameter and --all are ignored.
  -g, --group=GROUPS    Scan user(s) under the group(s). This option can be used as --group=foo --group=bar to scan groups foo and bar (multiple values allowed)
  -q, --quiet            Do not output any message
      --all              Will rescan all files of all known users.
      --repair           Will repair detached filecache entries (slow).
      --unscanned        Only scan files which are marked as not fully scanned.
  -h, --help             Display this help message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --no-warnings      Skip global warnings, show command output only
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Scans the filesystem for changes and updates the file cache accordingly.

Update the doc, if the PR is merged.

@voroyam
Copy link
Contributor

voroyam commented Jul 12, 2018

PR is still open, waiting for review of PR

@mmattel mmattel changed the title Modify doc for files:scan --groups [OC11] Modify doc for files:scan --groups Aug 28, 2018
@settermjd settermjd transferred this issue from owncloud-archive/documentation Nov 19, 2018
@phil-davis
Copy link
Contributor Author

PR owncloud/core#31719 was merged to core master 6 Aug 2018.
This issue can be documented and then wait until it is known when/what release it will go in.

@phil-davis
Copy link
Contributor Author

PR #642 has the needed changes.

@phil-davis phil-davis self-assigned this Feb 26, 2019
@phil-davis
Copy link
Contributor Author

PR merged to master. It will get released in the "normal" workflow whenever the corresponding core master code is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants