HF RL Explorer

Task: Check Whether a Specific File Type/Extension Exists in a Directory

Task: Check Whether a Specific File Type/Extension Exists in a Directory: a task in Terminal-Lego-15k (Harbor dataset). Create a bash script that checks whether files with a specific extension exist in a given directory. The script should reliably detect the presence of files matching a particular…

The task

Create a bash script that checks whether files with a specific extension exist in a given directory. The script should reliably detect the presence of files matching a particular file type pattern (e.g., `*.flac`, `*.txt`, `*.pdf`).

Part of PrimeIntellect/Terminal-Lego-15k.