Compare commits

...

2 Commits

Author SHA1 Message Date
5a397ce63e Merge branch 'main' of ssh://git.coopcloud.tech:2222/coop-cloud/nextcloud
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-08 10:14:57 +02:00
3143e99572 add function to set windows forbidden filename characters 2024-10-02 14:30:41 +02:00

10
abra.sh
View File

@ -147,3 +147,13 @@ set_authentik() {
disable_skeletondirectory() {
run_occ "config:system:set skeletondirectory --value ''"
}
set_windowsfriendly_filenames() {
run_occ 'config:system:set forbidden_filename_characters 0 --value=?'
run_occ 'config:system:set forbidden_filename_characters 1 --value=\<'
run_occ 'config:system:set forbidden_filename_characters 2 --value=\>'
run_occ 'config:system:set forbidden_filename_characters 3 --value=:'
run_occ 'config:system:set forbidden_filename_characters 4 --value=*'
run_occ 'config:system:set forbidden_filename_characters 5 --value=\|'
run_occ 'config:system:set forbidden_filename_characters 6 --value=\"'
}