Solved

deleted some folders from /opt/local

Posted on 2009-03-31
4
646 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 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

18 Experts available now in Live!

Get 1:1 Help Now