Retrieve/Recover deleted Netbeans project

前端 未结 6 1357
忘了有多久
忘了有多久 2020-12-05 02:12

I was just working on my Netbeans project and accidentally deleted it and don\'t know how to recover it.

Is there a tmp folder that the deleted project is stored in.

6条回答
  •  离开以前
    2020-12-05 02:45

    If you accidentally delete a folder on Netbean, the way to recover it is as follows. You can't revert deleted folders but you can revert deleted files. Follow these steps.

    1. Recreate the folder you deleted in your Netbean project. (You may not be able to create the folder within Netbean, in that case you can use mkdir command to create the folder )
    2. Right click that folder in Netbeans and go to History -> revert deleted (you should see a list of deleted files that relate to that particular folder.
    3. Repeat for each folder and sub-folder

    Note: I do not know if this works on windows, I know it worked for me on Linux. I also don't know if this works after you have closed Netbeans.

    hope it helps someone.

提交回复
热议问题