#!/bin/bash
# cwd to dir where the script is located
cd "$(dirname "${0}")" || exit
FILES=(*.raw)
# check if glob expanded to a file list
if [ ! -f "${FILES[0]}" ]; then exit; fi
for f in "${FILES[@]}"; do
    zstd --rm -f "${f}"
done

