Labels
thelmalu
Assassin
(6)
Solved (Go to Solution)

How can I backup /usr/local/bin?

I write short utilities and store them there. I tried to write a rule to back up anything w/ parent /usr/local/bin and it was assigned a size of 0 B.

 

mont
Employee
(67)
Solution

Re: How can I backup /usr/local/bin?

Hi thelmalu,

 

First of all, this is a BAD Idea.  Apple Considers this an OS folder and so we also consider it as such.

A better way to do this is to use the folders that are already supplied for user programs. Or to create your own folder and add it to the path (Environment variable).  This way you can run any of the programs form anywhere you are in the folder structure, and the folder will be selectable from the standard list of folders.

 

 

That said, I did set up a rule to backup the /usr/local/bin.

I set the Backup up files inside: to the Mac Hard Drive.  Then I set the rule to any parent folder is usr/local/bin.

I had it set to /usr/local/bin but the initial "/" was removed.

This worked just fine and backed up files from the /usr/local/bin location.

 

You can also use the following command to "unhide" this and many other files/folders from the finder.

In the terminal, paste/type the following line   (Note:  USE AT YOUR OWN RISK)

 

defaults write com.apple.Finder AppleShowAllFiles YES

 

You may have to restart your machine or this to take effect.

All the hidden folders will become visible and you can select them from the Mozy selection screen.

 

 

 

thelmalu
Assassin
(6)

Re: How can I backup /usr/local/bin?

Thank you for your clear and helpful reply.  It looks like 'Reps' are a good thing: how do I 'rep' you?

--thelma

 

Jamesde
Employee
(80)

Re: How can I backup /usr/local/bin?

thelmalu,

 

If you are wanting to give "reps" to another Mozy Community forum member, then just click on the little thumbs up icon underneath their name by the comment they've made.


Thanks!

 

James

 

Mozy
L2 Premium Support Engineer

Don't forget to mark posts you feel are legitimate resolutions and give reps to posts you like as well!

Latest Download
https://mozy.com/download/
0