grouper-dev - Re: [grouper-dev] [ot] finding a file in a java distribution ?
Subject: Grouper Developers Forum
List archive
- From: Arnaud Deman <>
- To: Tom Zeller <>
- Cc: Grouper Dev <>
- Subject: Re: [grouper-dev] [ot] finding a file in a java distribution ?
- Date: Tue, 22 May 2012 18:08:36 +0200
Hello,
Perhaps this could do what you want :
for f in `find . -name '*jar'`; do res=` unzip -l $f | grep xsd | grep
spring`; [ -n "$res" ] && echo -ne "$f :\n\n$res\n---\n"; done
Best regards,
Arnaud.
Le mardi 22 mai 2012 à 10:44:21, Tom Zeller a écrit :
> So I want to see if a file is in a java distribution directory. The
> following does not work :
>
> >find ./ -name '*.jar' -exec unzip -l \{} \; | grep xsd | grep spring
> 42117 03-23-12 15:02 schema/spring-beans-2.5.xsd
>
> I want the full path. Hints ?
>
> Thanks,
> TomZ
- [grouper-dev] [ot] finding a file in a java distribution ?, Tom Zeller, 05/22/2012
- Re: [grouper-dev] [ot] finding a file in a java distribution ?, Arnaud Deman, 05/22/2012
- Re: [grouper-dev] [ot] finding a file in a java distribution ?, Tom Zeller, 05/22/2012
- Re: [grouper-dev] [ot] finding a file in a java distribution ?, Arnaud Deman, 05/22/2012
Archive powered by MHonArc 2.6.16.