Merge pull request #5854 from nextcloud/docs/919

Add documentation about occ files:scan-app-data
This commit is contained in:
rakekniven
2020-12-30 17:30:30 +01:00
committed by GitHub

View File

@@ -641,6 +641,7 @@ File operations
files
files:cleanup cleanup filecache
files:scan rescan filesystem
files:scan-app-data rescan the AppData folder
files:transfer-ownership All files' and folders' ownerships are moved to another
user. Outgoing shares are moved as well.
Incoming shares are not moved because the sharing user
@@ -698,6 +699,24 @@ path component given.
The ``--path``, ``--all`` and ``[user_id]`` parameters are exclusive - only
one must be specified.
Scan appdata
^^^^^^^^^^^^^
Appdata is a folder inside of the data directory which contains files that
are shared between users and can be put there by the server or apps like
avatar images, file previews and cached CSS files for example.
Since the regular files scan only operates on user files the ``occ files:scan-app-data``
command will check the appdata directory and make sure that the filecache is consistent
with the files on the actual storage.::
Usage:
files:scan-app-data [options] [--] [<folder>]
Arguments:
folder The appdata subfolder to scan [default: ""]
Cleanup
^^^^^^^