deleted some folders from /opt/local

I accidently wrote a messed up script that deleted bin,      etc, and include from my /opt/local directory. I'm running OS X leopard. Is there a way I can restore what I lost and have no damage without having to restore the OS?

Thanks
BRMacBook:local user$ ls
Library	bin	etc	include	lib	libexec	man	sbin	share	src	var	www
 
//   ....
 
BRMacBook:local user$ ls
Library	lib	libexec	man	sbin	share	src	var	www

Open in new window

LVL 1
aw6b6Asked:
Who is Participating?
 
strungConnect With a Mentor Commented:
DataRescue II is your only hope:  http://www.prosofteng.com/
0
 
Blizz127Commented:
No unless you had a time machine backup. but check strung's website but I am not familiar with that software.
0
 
ahoffmannCommented:
/opt/local is no standard OS X, most likely a port installation, hence you can safely install port again without any harm to OS X
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.