Solved

deleted some folders from /opt/local

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

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 ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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.

615 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