Solved

deleted some folders from /opt/local

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…
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.

830 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