A magnitude 6.2 earthquake shook Ecuador's already devastated Pacific coast before dawn on Wednesday, terrifying residents and hindering rescuers searching for survivors of an even bigger quake at the weekend which killed more than 500 people.