Re: find -ing all object files recursively: How to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 05 November 2003 08:34 am, Reuben D. Budiardja wrote:
> Hi all,
> I need some help here. I read manual, but am still not quite good with
> "find".
>
> How do I find all object files (*.o, *.a, *.so) recursively under the
> current directory, and pass the result to "nm" so that I can get all the
> symbol of all those object files?
>

something like:

find . \( -name "*.o" -o -name "*.a" -o -name "*.so" \) -exec nm {} \;


See:

http://www.mcpressonline.com/mc?1@xxxxxxxxxxxxxxx@.6ae8257f


Barry


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux