EFFS file deletion
EFFS file deletion
I have an app that over time records thousands of files on an SD card. Is there any trick to rapidly delete files? Deleting one file at a time with f_delete() is painfully slow at only 2 per second.
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: EFFS file deletion
I'd be intertested in the same thing too. One (small) way to improve many of the EFFS calls is to comment out the printf calls that dump status info to stdio. These are helpful at first, but usually inappropriate soon. For deletes of large numbers of files , I've often resorted to using a laptop and some batch files. A directory delete would be useful.