Task: Use find command to locate files while excluding specific directories
Task: Use find command to locate files while excluding specific directories: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that finds all files ending with peaks.bed in a directory tree, but excludes any files located within the tmp and scripts directories.
The task
Write a shell script that finds all files ending with `_peaks.bed` in a directory tree, but excludes any files located within the `tmp` and `scripts` directories.
Part of PrimeIntellect/Terminal-Lego-15k.