I create index
every day,such as indexname-yyyy-MM-dd
.Now i want to delete the indexs
which created before the appointed day.
For example.I have 4 indexs
(name-2016-07-13
,name-2016-07-14
,name-2016-07-15
,name-2016-07-16
),I want to delete the indexs
which created before 2016-07-15
(name-2016-07-13
,name-2016-07-14
).