HF RL Explorer

Task: Recursive File Search and Copy by Type

Task: Recursive File Search and Copy by Type: a task in Terminal-Lego-15k (Harbor dataset). Write a Ruby script that searches a folder and all of its subfolders recursively for files of a specified type (extension) and copies them to a destination folder.

The task

Write a Ruby script that searches a folder and all of its subfolders recursively for files of a specified type (extension) and copies them to a destination folder.

Part of PrimeIntellect/Terminal-Lego-15k.