Delete sample data

#1

Hi everyone, does anyone know how I can delete folders and sample files when a new user is created?

regards!!

#2

rm /wwwroot/skeleton/*

1 Like
#3

Better just set 'skeletondirectory' => '', in your config.php or set it to an own folder with individual content: https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience (bid down the page)

Otherwise you will face integrity check errors on updates, I think.

2 Likes
#4

Thanks, it was very helpful.