I recently got a question about if pantry moths can harm clothing or rugs. Pantry moths do not eat the fibers of clothing or carpets. It IS possible that they might next and lay eggs there, but when the moths hatch into adults they will fly away in search of mates and food. NOW- if the clothing or carpet has food particles on it- they could eat them...another reason to have seasonal clothing dry-cleaned before you put it away for storage.
Many people confuse pantry moths with clothes moths. Here is a pic of a pantry moth; and a picture of a clothes moth so that you can see the difference and identify which you have.