Task: Bash Script to Iterate Files in Directory and Pattern Match Filenames
Task: Bash Script to Iterate Files in Directory and Pattern Match Filenames: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that iterates through all CSV files in a directory, determines which "group" each file belongs to by pattern matching its filename against known patterns…
The task
Write a bash script that iterates through all CSV files in a directory, determines which "group" each file belongs to by pattern matching its filename against known patterns, and calls a different processing command based on the determined group.
Part of PrimeIntellect/Terminal-Lego-15k.