301 redirecting 20 pages to new site, rest of the URL's to new site's homepage

Hi I need to manually redirect 20 pages to the new domain, the rest of the pages should go to the new home page. Like this:

http://old.com/page1/ goes to http://new.com/parent/page1/ etc. 20x

http://old.com/all-not-manually-redirected/ goes all to http://new.com/

The manual redirect I can take care of, but what about the rest?

Thanks for any help,

Nick