I bought my friend a 1 terabyte external hard drive for Christmas so he could back up all his stuff. I invited him over last week so I could get some of his files off the hard drive.
Before I copied it however, I was going to remove all the .DS files from his file system (he uses with his Mac) so that there wouldn’t be any copy issues with our FAT hard drives (I have Finder show all the hidden files so it becomes an issue). So I ran the command in Terminal to remove the .DS files. Done.
Then I got to the file transfer and everything seemed to work great… except.. it went REALLY fast. I copied over his whole folder structure in seconds. That can’t be right. So I started opening up the folders to make sure the files were there…
And we both slowly started coming to the realization that I just deleted everything on his drive. All 350 GB of it.
I went back and checked the command that I used in Terminal and noticed that I missed the “-name” part of the command. Damn.
How ironic that I buy him a hard drive for him to back up all his stuff on, then I invite him over and delete all of it!
I bought him dinner. That’s how you deal with data loss. Sorry man.