Hi, first post here.
I’ve modified config.php to have a clear skeleton directory. However, all existing users still have a copy of the default skeleton directory with the Nextcloud video and stuff.
My question is, how do I delete those skeleton files from everyone? Is there a way to do it with occ?
Al per https://docs.nextcloud.com/server/15/admin_manual/configuration_files/default_files_configuration.html?highlight=skeleton "These files will be copied only to new users after their initial login, and existing users will not see files that are added to this directory after their first login. "
I believe you can remove old files and folders under
...data/USERNAME/files/wahterverFromYourSkeleton, or something like
rm -r data/*/files/oldSkeleton via command line, then replace with a new skeleton, and then run command to rescan local partition:
sudo -u www-data php occ files:scan
as described here: https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html?highlight=occ%20files#file-operations