#!/bin/bash

# Ask user for directory path
read -p "Enter directory path: " directory

# find $directory -type f \( -name "data[0-9]*" -o -name "groundtruth[0-9]*" \) -delete
find $directory -type f \( -name "confounded[0-9]*" \) -delete