I have folder names in the below date format
20130801 20130802 20130803 20130804 20130805 20130806 20130807 20130808 . . . 20130819
Similarly ,I have folders created from past two years for each day, and each of these folders have some files in it.
I am trying to find a unix command that would search for folders created on Saturdays and Sundays and delete all the contents in the folder and the folder itself.
For example, in the dates that I have mentioned above, folders with names
20130804 and the contents inside it should be deleted.