I tried to do a simple task in batch--unzipping many gz files. I have many .gz files, but how come it only unzipped one file then finished? Anything wrong with my script? thanks. John
## unzip fastq.gz
for i in *.fastq.gz
do
#echo $i
zcat "$i" > "${i%.*}"
done
## unzip fastq.gz
for i in *.fastq.gz
do
#echo $i
zcat "$i" > "${i%.*}"
done
Comment