11 lines
129 B
Bash
11 lines
129 B
Bash
|
#!/bin/bash
|
||
|
shopt -s nullglob
|
||
|
fs=(*.gz)
|
||
|
#echo "${fs[@]}"
|
||
|
for f in "${fs[@]}"
|
||
|
do
|
||
|
echo File: $f
|
||
|
gunzip -c $f | grep "Msg]"
|
||
|
done
|
||
|
|