#!/bin/bash echo "Processing fish images..." mkdir datasets/Fish/images mv -v datasets/Fish/chunk*/** datasets/Fish/images rm -rf datasets/Fish/chunk* echo "Processing butterfly images..." mkdir datasets/Butterfly/images mv -v datasets/Butterfly/chunk*/** datasets/Butterfly/images rm -rf datasets/Butterfly/chunk* echo "Processing finished!"