Find all files with any name and any extension modified in the last 24 hours and change the owner and group of those files to user 501 and group 501.
find -name '*.*' -mmin -1440 | xargs chown -Rc 501:501