We show how to prepare a variety of cavity field states for multiple cavities. The state preparation technique used is related to the method of stimulated adiabatic Raman passage. The cavity modes are coupled by atoms, making it possible to transfer an arbitrary cavity field state from one cavity to another and also to prepare nontrivial cavity field states. In particular, we show how to prepare entangled states of two or more cavities, such as an Einstein-Podolsky-Rosen state and a W state, as well as various entangled superpositions of coherent states in different cavities, including Schrodinger cat states. The theoretical considerations are supported by numerical simulations.