Hi,
I am using the find command like this

find <somedir> -name "somaname" -exec find {} -name "somefile" \;
This works fine. Now I want to add another exec to the seond find
i.e.
find <somedir> -name "somaname" -exec find {} -name "somefile" -exec grep
"some string"  {} \;
But it does not work
I tried using \; \; in the end too. Any help?

Tanveer
_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to