Delete non-empty directory chan's FatFs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-23 1:47 AM
Hello,
I wanted to delete the directories created using f_mkdir(). I have created some files inside directories. I could delete the individual files inside directories but unable to delete the entire directory.
My application includes number of directories and each directory consist of 100 files.
Would appreciate your response...!!!
Thanks in advance,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-10 12:00 PM
Hello,
I have exactly the same request.
Did you finally managed to get a solution? I would appreciate if you could share your solution if any.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-10 4:39 PM
You'd need to enumerate through the content deleting the files as you go and descending into the subdirectories. If recursion isn't appealing you could create a processing list where you come back to the directories after the files have been removed.
Up vote any posts that you find helpful, it shows what's working..
