Quantcast
Channel: How To – Paul K Leasure
Viewing all articles
Browse latest Browse all 39

Add Find to Mac OSx Command Line Terminal

$
0
0

Would you like to use the find command from the Mac OS command line terminal?

If you are using brew then you may do this very simply.

Its always a good idea to run the brew doctor before any installation.

$> brew doctor

Follow any steps the ‘doctor’ tells you to keep your brew in good health.

Be sure to run the brew update command.

$> brew update

With everything in order you can now install the brew find utilities like this.

$> brew install findutils

The brew installation expects you to use the ‘gfind’ command. If you are used to typing ‘find’, you can simply alias the command like this.

$> echo "alias find='gfind'" >> ~/.bash_profile

Now you have the find command available to you at the command line terminal on your Mac OSX.


Viewing all articles
Browse latest Browse all 39

Trending Articles