To save some space I am looking for ways to:
1. Delete attachments with 0 views within last year
2. Delete attachments not assigned to anything (uploaded and not posted to a post or PM)
3. If above not possible then delete attachments older than 2 years.
I could delete the records in the DB but the point of this would be to delete the files too.
What would you say is the correct method for this?
Thanks
1. Delete attachments with 0 views within last year
2. Delete attachments not assigned to anything (uploaded and not posted to a post or PM)
3. If above not possible then delete attachments older than 2 years.
I could delete the records in the DB but the point of this would be to delete the files too.
What would you say is the correct method for this?
Thanks