I need a script that searches a specified directory and tells me if a certain file is found.
there are files like this format
YYYY-MM-DD.sa
I have a page that has a list the dates that I wrote an article for, so the page would look something like this.
2001-04-01
2001-04-04
2001-04-05
2001-04-07
2001-04-09
2001-04-12
each date will have a link to the article.
I need a script that prints out dates found in the directory so I don't have to manually type them in everytime I add an article and then display it using a while/for loop.
Thanks