You are on page 1of 1

for file in *.

zip; do
if ( unzip -c "$file" | zgrep -q "IGNORED DUE TO FREQ MISMATCH") "${file:(-3
)}"; then
echo "$file"
fi
done
find /usr/local/CallTraceServer/installer/TraceServer/ -name "*.java" |xargs gre
p -i "mergecap"
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.zip' |xargs unzip |xargs
zgrep "IGNORED DUE TO FREQ MISMATCH"
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name "*.zip" |xargs -t -i unzip
{}
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.gz' |xargs zgrep "IGNORE
D DUE TO FREQ MISMATCH"
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.gz' |xargs zgrep -l "HO
REQUEST"
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.gz' |xargs zgrep -l "HO
REQUEST" |wc -l
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.gz' |xargs zgrep -c "FHO
IGNORED DUE TO FREQ MISMATCH"
find /home/nmoorthi/temp/AMBD-ISC-0122-SMC007/ -name '*.gz' |xargs zgrep -o "FHO
IGNORED DUE TO FREQ MISMATCH"
ls -larth *.gz |wc -l
find /home/nmoorthi/temp/logger/ -name '*.zip' |xargs zgrep -o "SRemPreMsg" >res
ult.txt
find /home/nmoorthi/temp/logger/ -name '*.zip' |xargs zgrep -l "SRemPreMsg" | wc
-l
find /home/nmoorthi/temp/logger/ -name '*.zip' |xargs echo $0

You might also like