Hi,
I'm looking for a script to run for all users so that it deletes files older than 60 days from the user's trash (preferably from "date added" to the trash, not when file was created), but either way is fine.
I can run some commands as some suggested from local terminal, but I can't executed from Jamf Pro:
find ~/.trash -mindepth 1 -mtime +60 -delete
Please advise.
Thanks in advance.