11-10-2004, 11-09-2004, 11-08-2004, 11-07-2004. The code should be removing the 11-07-2004 directory.
Your post is titled "Removing youngest directory", but 11-07-2004 would be the oldest, not the youngest.
Also keep in mind that your program will fail when the year changes because you are sorting by month-day-year instead of year-month-day.
In reply to Re: Removing youngest directory
by ikegami
in thread Removing youngest directory
by tc1364
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |