$ find ./dataset/ -name type1_*.jpg >> images_type1.txt $ find ./dataset/ -name type2_*.jpg >> images_type2.txt