<h2>occ files functions</h2>
<pre>
</pre>
<h2>occ files:scan</h2p>
<pre>
Description:
rescan filesystem
Usage:
files:scan [options] [--] [&lt;user_id&gt;...]
Arguments:
user_id will rescan all files of the given user(s)
Options:
--output[=OUTPUT] Output format (plain, json or json_pretty, default is plain) [default: &quot;plain&quot;]
-p, --path=PATH limit rescan to this path, eg. --path=&quot;/alice/files/Music&quot;, the user_id is determined by the path and the user_id parameter and --all are ignored
--generate-metadata[=GENERATE-METADATA] Generate metadata for all scanned files; if specified only generate for named value [default: &quot;&quot;]
--all will rescan all files of all known users
--unscanned only scan files which are marked as not fully scanned
--shallow do not scan folders recursively
--home-only only scan the home storage, ignoring any mounted external storage or share
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) 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:
More extensive and thorough documentation may be found at https://docs.nextcloud.com
</pre>
Page History
Date/CommentUserIPVersion
23 Jan 2026 (08:45 UTC)
—
Lester Caine192.168.1.2543
Current • Source
Lester Caine192.168.1.2542
View • Compare • Difference • Source
Lester Caine192.168.1.2541
View • Compare • Difference • Source