#!/bin/bash
mkdir -p tmp
for file in 300534060460680_021*.sbd ; do
	echo $file
 for day in `seq 3 10` ; do
  DD=$day ; [ $day -le 9 ] && DD=0$day
  grep 2021-07-$DD $file &>/dev/null
  [ $? -eq 0 ] && cp $file tmp
 done
done
