When they are completely cool, store them in airtight boxes in a cool dark place. (archanaskitchen.com)
So a simple method to get rid of them is pack your semolina, all purpose flour or whole pulses in separate airtight boxes or packets and keep them in freezer!! (meenusmenu.com)