Solved

deleted some folders from /opt/local

Posted on 2009-03-31
4
649 Views
Last Modified: 2013-12-26
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

0
Comment
Question by:aw6b6
4 Comments
 
LVL 53

Accepted Solution

by:
strung earned 500 total points
ID: 24028436
DataRescue II is your only hope:  http://www.prosofteng.com/
0
 
LVL 3

Expert Comment

by:Blizz127
ID: 24046327
No unless you had a time machine backup. but check strung's website but I am not familiar with that software.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 24072470
/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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now