Quote:
|
Originally Posted by ghostdog74
no need the for loop
Code:
find . -size +1024c -type f -name "*.txt" -print0 | xargs -0 sed -i 's/term/replace/g'
NB. -i option only for gnu sed.
|
I can run this on the command line, but...
Wouldnt this search only files that end with .txt and would it search subfolders ?