Delete file older than x day, but for some users and some directory only

Hi, do I need to install app to do this? (tag the folder)
I can not find, where can I tag the folder (both web and android).

Or is it possible do that on command/console? occ?
Thanks.