There are recovery programs like sleuth-kit which may help but its a painful process because you have to image the entire disk or partition first before you can actually make use of the programs.
I have used it once only to recover data from a dying flash media only to find that the image contained previously deleted files but not any new files that were being added to the flash media.




