X Tutup
Skip to content

Commit f2eaa0e

Browse files
authored
New option in files_external:list --mount-options
Refernces core owncloud/core#36420
1 parent 570a950 commit f2eaa0e

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

modules/admin_manual/pages/configuration/server/occ_command.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,13 +898,14 @@ files_external:list [--show-password] [--full] [-a|--all] [-s|--short] [--] [<us
898898
|===
899899
| `--show-password` | User to add the mount configurations for, if not set the mount will
900900
be added as system mount.
901+
| `--mount-options` | Show all mount options independent if they are set to their default value or not.
901902
| `--full` | Don't save the imported mounts, only list the new mounts.
902903
| `-a, --all` | Show both system-wide mounts and all personal mounts.
903904
| `-s, --short` | Show only a reduced mount info.
904905
| `--output=[OUTPUT]` | The output format to use (`plain`, `json` or `json_pretty`, default is `plain`).
905906
|===
906907

907-
===== Example
908+
===== Example 1
908909

909910
[source,console,subs="attributes+"]
910911
----
@@ -917,6 +918,25 @@ be added as system mount.
917918
+----------+------------------+----------+
918919
----
919920

921+
===== Example 2
922+
923+
[source,console,subs="attributes+"]
924+
----
925+
{occ-command-example-prefix} files_external:list --mount-options --output=json_pretty
926+
[
927+
{
928+
"mount_id": 2,
929+
"mount_point": "\/mount_3",
930+
"storage": "SMB \/ CIFS",
931+
"authentication_type": "Username and password",
932+
"configuration": "host: \"NAS\", share: \"public\", root: \"\", domain: \"mydomain\", user: \"myuser\", password: \"***\"",
933+
"options": "encrypt: true, previews: true, filesystem_check_changes: 1, enable_sharing: false, encoding_compatibility: false",
934+
"applicable_users": "All",
935+
"applicable_groups": ""
936+
}
937+
]
938+
----
939+
920940
==== files_external:applicable
921941

922942
Manage applicable users and groups for a mount.

0 commit comments

Comments
 (0)
X Tutup