Help needed with searching files and moving them to a different directory

I am new to shell scripting. Can someone help me out with this one please?

I need to write a script fot the following scenario:

I am currently in /parent directory.

I have a set of files in /parent/error_files directory

My script has to search for a file in /parent/erratic_files directory, that was modified in the last 24 hours and it has to move that file to a different folder, /parent/logs folder.

man find

Look at the -mtime and -exec operands.