Deleting old skeleton files from users

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 "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, 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: