I want to delete all files with the date 2024-07-18 in the public_html folder and its subfolders
Use find command:
Or write a simple script in python using the output of ls -l (but remember that date shown in the output is the date of last update of the file).