Rescuing a Macports file from Time Machine

2017-02-23 Thread Dave Horsfall
Let's say that I accidentally lost a critical Macports file (don't ask).  
How would I recover it with Time Machine?  It seems that my only options 
are to recover an arbitrary file within my home directory, or to restore 
the entire Mac, thereby making the whole Time Machine concept about as 
useful as an ashtray on a motorbike...

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."


Re: Rescuing a Macports file from Time Machine

2017-02-23 Thread Chris Jones



On 23/02/17 14:38, Dave Horsfall wrote:

Let's say that I accidentally lost a critical Macports file (don't ask).
How would I recover it with Time Machine?  It seems that my only options
are to recover an arbitrary file within my home directory, or to restore
the entire Mac, thereby making the whole Time Machine concept about as
useful as an ashtray on a motorbike...


Not so.

By default (i.e. unless you explicitly blacklisted a location) TM backs 
up the entire system. So first, check in your TM preferences to make 
sure you have not done this.


If not, then go to in terminal

/opt

assuming that is your macports prefix.

Run 'open .' which will start finder in that area, and then activate TM.

Chris


Re: Rescuing a Macports file from Time Machine

2017-02-23 Thread Dave Horsfall
On Thu, 23 Feb 2017, Chris Jones wrote:

[...]

> If not, then go to in terminal
> 
> /opt
> 
> assuming that is your macports prefix.
> 
> Run 'open .' which will start finder in that area, and then activate TM.

Sir, you are a genius :-)  Gimme your address, and I'll send you a 
lollipop.

Regretfully to say, it never occured to me to "cd" to the wanted 
directory...

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."


Re: Rescuing a Macports file from Time Machine

2017-02-23 Thread Michael Parson

On Fri, 24 Feb 2017, Dave Horsfall wrote:

On Thu, 23 Feb 2017, Chris Jones wrote:

[...]


If not, then go to in terminal

/opt

assuming that is your macports prefix.

Run 'open .' which will start finder in that area, and then activate TM.


Sir, you are a genius :-)  Gimme your address, and I'll send you a
lollipop.

Regretfully to say, it never occured to me to "cd" to the wanted
directory...


For those allergic to command-lines, or afraid of terminals, you can
use 'Shift-CMD-G' (or Menu Bar->Go->Go to Folder) and put '/opt' in the
dialog box that opens.

Also useful for getting into '~/Library' as well as any other folder
Apple has decided to not show you by default via Finder.

--
Michael Parson
Pflugerville, TX
KF5LGQ


Re: Rescuing a Macports file from Time Machine

2017-02-23 Thread Chris Jones



On 23/02/17 17:51, Michael Parson wrote:

On Fri, 24 Feb 2017, Dave Horsfall wrote:

On Thu, 23 Feb 2017, Chris Jones wrote:

[...]


If not, then go to in terminal

/opt

assuming that is your macports prefix.

Run 'open .' which will start finder in that area, and then activate TM.


Sir, you are a genius :-)  Gimme your address, and I'll send you a
lollipop.

Regretfully to say, it never occured to me to "cd" to the wanted
directory...


For those allergic to command-lines, or afraid of terminals,


I figured for those using macports the above probably did not apply ;)

Chris

 you can

use 'Shift-CMD-G' (or Menu Bar->Go->Go to Folder) and put '/opt' in the
dialog box that opens.

Also useful for getting into '~/Library' as well as any other folder
Apple has decided to not show you by default via Finder.



Re: Rescuing a Macports file from Time Machine

2017-02-23 Thread Brandon Allbery
On Thu, Feb 23, 2017 at 12:54 PM, Chris Jones 
wrote:

> For those allergic to command-lines, or afraid of terminals,
>>
>
> I figured for those using macports the above probably did not apply ;)


You'd be surprised. It's not 2000 any more.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net