Argument list too long (when trying to delete files in Linux)
You may have used something like this to delete all files in "myfolder":
rm -rf /home/path/public_html/myfolder/*
This will work for deletion of multiple files without throwing an error:
find /home/path/public_html/myfolder -type f -delete