Thursday, 12 September 2013

how to find which jar containt special file using find command

how to find which jar containt special file using find command

exec below shell

find . -name "*.jar" -exec jar -tf {} \;|grep "message_track.properties"
message_track.properties
message_track.properties
it has two same file ,but which two jar containts the file. how to find it ?

No comments:

Post a Comment