There is all sorts of tricks you can employ to make this a lot less grief.
First make a dummy pipe end that will fit onto the the fitting from which you undo the upper (chassis) end of the old flex pipe(s). Whip the flex pipe off, and slip the dummy on. Let it drip a couple of drips then nip it up finger tight. Fluid should not drip out now.
Now take the hose(s) off the caliper. Fluid will spill from inside the hoses.
Next, fit the new hose(s) at the bottom end (caliper). and keep the other ends of these hoses high.
Here's the cunning bit. Ever so gently press a disc pad back, and fluid will appear at the TOP end of the flex pipe. Do this VERY SLOWLY so no air bubbles get stuck to the insides of the flex hose. When ifluid appears at the high end of the flex, take the dummy stopper off the chassis pipe, and fit the flex(es) loosely - leave them 2 turns slack. Wait till a little fluid escapes (that's coming down from the master cylinder), and when you reckon there's no air about press the pad a little bit more VERY GENTLY to shove a little fluid up from the caliper, and nip up the union. Wipe it all clean.
Pump the pedal to push the pad back out. With any luck that's it, no bleeding required.
Keep the master reservoir topped up as you will lose some fluid in the pipes you take off.
Charles