Page 1 of 1

Little FS file recovery

Posted: Mon Jul 25, 2022 9:01 am
by KJM
Is there a way to recover an accidentally os.removed file from flash in little FS on the esp32 or is it gone for good?

Re: Little FS file recovery

Posted: Mon Jul 25, 2022 10:28 am
by Roberthh
AFAIK, there are no file recovery tools. But the data ist still there. So you could use the block device driver‘s readblocks method to read out the file system‘s data space. Unless you or an IDE writes to the fs, there are not automatic writes happening.