You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:alt:Enforce windows compatibility checkbox on the Administration - Basic settings - Files compatibility page.
45
48
49
+
Using the occ command
50
+
^^^^^^^^^^^^^^^^^^^^^
51
+
52
+
.. note::
53
+
54
+
This command was introduced in Nextcloud 32.
55
+
56
+
To quickly enable or disable the feature an :ref:`occ command <occ_files_windows_filenames>` is provided.
57
+
46
58
Consequences
47
59
------------
48
60
@@ -54,3 +66,10 @@ This works by setting a pre-defined set of configuration settings:
54
66
- ``forbidden_filename_basenames`` will be set to names reserved on Windows.
55
67
- ``forbidden_filename_characters`` will be set to characters not valid for filenames on Windows.
56
68
- ``forbidden_filename_extensions`` will be set to strings not allowed as trailing parts, like a trailing dot or spaces.
69
+
70
+
Sanitizing invalid filenames
71
+
----------------------------
72
+
73
+
After enabling the feature the users have to manually adjust all invalid filenames
74
+
to be able to keep working with them.
75
+
As an alternative Nextcloud provides the :ref:`occ files:sanitize-filenames <occ_files_sanitize_filenames>` command to automatically rename all invalid files.
0 commit comments