find error

Loïc Grenié loic.grenie at gmail.com
Wed Oct 6 08:09:22 UTC 2010


2010/10/6 Tapas Mishra <mightydreams at gmail.com>:
> I used find in following fashion to exclude find to search in directory /opt
>
> find / -name java -prune  -o -name /opt -print

    What you seem to mean is:

find /opt -name java

    (search /opt for files (and directories) named java).

         Hope this helps,

               Loïc

PS: try man find in a terminal, there are rather good examples




More information about the ubuntu-users mailing list