Delete old files

Hi,

I know there is the auto tagging feature but it’s only for new files.

But my Nextcloud server is in production and my users already have files.

How to delete those old files ? With bash script ?

Thanks.