delete files older from specific days

find /home/u1450-grc9mwc4rznb/www/alexfisherhealth.com.au/public_html/wp-content/uploads/elementor/forms/ -type f -mtime +1 -exec rm {} +

just change +1 to the days older file you want to delete

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat