This question already has an answer here:

I removed the /bin instead of ~/bin :(

My laptop no longer boots up! It has no DVD or CD drive!

How can I restore the OS X?

It is MacBook Pro OS X 10.8, SSD 128GB.

merged by bmike Feb 3 '14 at 18:54

This question was merged with How can I get back a system file after deleting it from my Mac? because it is an exact duplicate of that question.

  • I did edit the accepted answer on the linked question - if you delete /bin - some common tools like cp will be missing, but you do still have tar and can cd /; tar -cvf - /Volumes/OS\ X\ Base\ System/bin | tar -xf - – bmike Feb 3 '14 at 20:34

Browse other questions tagged .