HF RL Explorer

Recursive Search and Replace in Text Files

Recursive Search and Replace in Text Files: a task in Terminal-Lego-15k (Harbor dataset). You need to perform a recursive search and replace operation on text files. Specifically, you must find all .txt files in a directory tree and replace all occurrences of the word this with the word that .

The task

You need to perform a recursive search and replace operation on text files. Specifically, you must find all `.txt` files in a directory tree and replace all occurrences of the word `this` with the word `that`.

Part of PrimeIntellect/Terminal-Lego-15k.