Solved

deleted some folders from /opt/local

Posted on 2009-03-31
4
672 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
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.

734 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