Hi,
I've got a hash table that has a file name and a date. In one month there are multiple files created and I want to keep the newest and delete the rest.
Does anyone have any logic or at least a pointer how I could do this? Here is what I have:
file1 2018-04-15
file2 2018-03-04
file3 2018-04-15
file4 2018-03-11
file5 2018-02-04
file6 2018-04-15
file7 2018-04-08
file8 2018-03-18
file9 2018-04-08
file10 2018-04-22
For each unique month in the list, keep the eldest and delete the rest!
Alter De Ruine