Where is findutils installed?

View: New views
3 Messages — Rating Filter:   Alert me  

Where is findutils installed?

by Peng Yu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed findutils on macports. But I don't find where the commands
find, locate, updatedb and xargs are. Could somebody let me know where
they are?

sudo port install findutils
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: Where is findutils installed?

by Arno Hautala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Oct 31, 2009 at 00:03, Peng Yu <pengyu.ut@...> wrote:
> I installed findutils on macports. But I don't find where the commands
> find, locate, updatedb and xargs are. Could somebody let me know where
> they are?

They are installed, by default, under /opt/local/bin with "g"
prefixing each program name (ie. gxargs instead of xargs).  The
"with_default_names" variant is available which uses the names you're
more likely to be familiar with, though this may cause problems with
scripts which expect a specific version of findutils provided by Mac
OS X.

In general, you can discover the installed files of a port by using
the following command.

port contents <port>

ie.

$ port contents findutils
Port findutils contains:
  /opt/local/bin/gfind
  /opt/local/bin/glocate
  /opt/local/bin/goldfind
...

--
arno  s  hautala    /-\   arno@...

pgp eabb6fe6 d47c500f b2458f5d a7cc7abb f81c4e00
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: Where is findutils installed?

by Jeremy Huddleston-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

They install with the 'g' prefix... run gfind.

On Oct 30, 2009, at 21:03, Peng Yu wrote:

> I installed findutils on macports. But I don't find where the commands
> find, locate, updatedb and xargs are. Could somebody let me know where
> they are?
>
> sudo port install findutils
> _______________________________________________
> macports-users mailing list
> macports-users@...
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

smime.p7s (7K) Download Attachment