


Many system processes read/write to the disk quite often, and have a high chance of overwriting your previous data and make it not recoverable. But when you booted back in to the drive, several things happen which may write to the disk and clobber those files because they're marked "free space" now. As long as nothing re-uses the space, PHOTOREC can recover it by marking it in use again. PHOTOREC works because file systems use the lazy approach to file deleting: They do not delete the data in the file, they only mark the space used by the file as being available for re-use. The second time when you rebooted from the same damaged disk to try to recover it. The first time was when you deleted all your files. Sadly, you "shot yourself in the foot- TWICE". What actions should I take aside from not taking any dumb decisions such as copy pasting random bits of command or codes from the internet?

Is it guaranteed that all my files in the macbrookpro# user will be recovered? I read online that if some of the files are overwritten then there is no way to actually recover those files, I don't really know how all of these works. It's still in the process of recovering files (with estimated time for completion of 7 hours and my elapsed time is still in the first two hours). I didn't set up Time Machine or backups so I logged in to the Admin account (initially) without any file contained and downloaded Photorec to recover files, and stored them into the documents folder in the admin account. I forced restarted the laptop to see if it stops the deleting process but to my surprise, after logging in the standard macbookpro#, all files were deleted. I copied this command online to the terminal without reading what it actually does (I know this is very dumb for a beginner) and suddenly, it started to delete every important file in the hard drive.
