I've looked through the SD library for IDE 0022 but did not see a function which renames the file on the SD card. Does anybody know how to rename SD card files or if there is another library out there which can?
I'm wanting to keep the last full day's data onto the SD card, always calling it yesturda.csv
So, when there is yesturda.csv with 24 hrs of data, then I create now.csv to start writing the next day's data. When now.csv fills up 24 hours with of data, then I'll want to delete yesturda.csv and rename now.csv to yesturda.csv. The next 24 hours starts again with a new now.csv.
As you can see, all I need is a file rename command. Any ideas? Thanks.