Reputation: 175
While i was editing one of my css files, the power went out unexpectedly. After the power came back, i checked if the file was ok but it wasn't... it was corrupted, when opened in notepad it shows empty characters but the file size was not zero.
Upvotes: 0
Views: 6398
Reputation: 23
I suffered for the same issue just now...and I've got the solution...and its simple.
Install this software called: Mini Tool Power Data Recovery
Its free and after it is installed, select the "Damaged Partition Recovery" from the first screen and navigate to the location of the file that is corrupted and select each corrupted file or the whole folder through the checkbox.
And click 'Save' and select where to save the recovered files. That's all, you should now see the original not-corrupted file there.
Thanks to Mini Tool Power Data Recovery.
Useful links:
https://www.powerdatarecovery.com/data-recovery-resources/corrupt-files.html https://www.powerdatarecovery.com/free-file-recovery-software/how-to-recover-data-after-hard-drive-crash.html
Upvotes: 0
Reputation: 11
I faced the same issue recently and I found the solution. There is a corrupted file with extension .TMP
. To fix it, download Notepad++
then go to the .TMP
file and open the file with Notepad++
. You can find your all css
code in it. Just copy and paste into another blank css
file and include that file in your html
file. That's all.
Upvotes: 1
Reputation: 303
if you use chrome or another browsers, just give recover option when it asks when you open first time after the power shutdown. After the recovering process go to the "show code" option, copy and paste the code.
Upvotes: 1