I accidentally deleted a very important zip file through NetBeans

Viewed 18911

i was working on my NetBeans and i accidentally deleted a zip folder that was on my desktop...a very important all through netbeans on the left side of netbeans you can see all your projects and one of my projects was on the desktop of my mac. i selected it and then i open the source file selected that zip file and press the delete button on my keyboard it asked me if i wanted to delete i said yes...i though it was going to remove only on the NetBeans table not on all my computer source ... it even didn't went to the trash...i assume if that happen i must have a way to get back that file...like it moved to other fold or something....please you gotta help me

5 Answers

In NetBeans select (highlight) the project that contained the ZIP file. Under Versioning, select Local History -> Revert Deleted. See if your ZIP file comes back. If not, you're probably out of luck.

Version control and backups are your friends.

Eclipse and Idea both have a mechanism to restore local history, this includes deleted files. Netbeans seems to have similar. Hope this helps.

You possibly can recover the deleted file by using the Refactor->Undo[Safely Delete] option.

nope. it wiped it clean. you can install some file recovery software and get it back in no time (just google "file recovery" and you'll get a million tools)

Related