Ankara: Turkey's top military commanders met today to replace almost half of their generals in a radical shake-up after the failed coup, as authorities shut down dozens of media outlets in a widening crackdown.The hastily convened meeting came after the government ordered the discharge of 149 generals -- nearly half the armed forces' entire contingent of 358 -- for complicity in the putsch bid.In a separate move, a total of 131 newspapers, TV channels and other media outlets were being shut down. The July 15 rebellion, which saw plotters bomb Ankara from war planes and wreak havoc with tanks on the streets of Istanbul in a bid to unseat President Recep Tayyip Erdogan, has sparked a backlash affecting all aspects of Turkish life. So far almost 16,000 people have been detained in a crackdown -- the magnitude of which had caused international alarm.The meeting of the Supreme Military Council (YAS) began in Ankara at around 1400 IST, bringing together Prime Minister Binali Yildirim and the army, navy and air force commanders, along with other top figures untarnished by the coup. In a possible move to pre-empt its decisions, two of Turkey's top ranking generals -- Land Forces Chief of Staff General Ihsan Uyar and Training and Doctrine Command head General Kamil Basoglu -- resigned just before the meeting, the Dogan news agency said. Eighty-seven land army generals, 30 air force generals and 32 admirals have been dishonourably discharged over their complicity in the failed coup, a Turkish official said, confirming a government decree. In addition, 1,099 officers and 436 junior officers have received a dishonourable discharge, according to the decree. The council will decide on the personnel changes required after the coup, with lower-ranking officers expected to be fast-tracked to fill gaps in top positions. In a symbol of the military's waning power, the meeting is being held at the Cankaya Palace of the Turkish premier in Ankara and not, as is customary, at military headquarters. It is expected to last just one day, as opposed to up to three days in the past, a Turkish official said. In the wake of the coup the military has already lost control of the coastguard and gendarmerie, which will now be the responsibility of the interior ministry. The army said Wednesday that 8,651 of its military personnel had been involved in the rebellion -- 1.5 per cent of its total number -- along with 35 planes, 37 helicopters, 74 tanks and three ships.