Complex sentence: Already before the uprising the Germans knew Warsaw would soon fall into Allied hands in a matter of few months at most, yet unprecedented resources were diverted to the destruction of the city.
Split into simpler sentences: Already before the uprising, the Germans knew Warsaw would soon fall into Allied hands in a matter of few months. In spite of this, unprecedented resources were diverted to the destruction of the city.