Appending Materials Automatically
I don't know if this is what you need. But in Object mode select the objects without the materials, select the object with the material and press CTRL+L then click materials. now the objects will have the same materials.