I’d like to remove some text that I have saved into a file (because it is quite long) of which I know it is part of many files in a directory (and its subdirectories). Now, I want to remove that sample text from all those files.
I have read this one, but it does not uses and input file—I cannot manage this little tweak :)
Thank you in advance.
Info: I am using Ubuntu 13.10 i386
find . -type f -iname \*.txt -exec sed -i~ 's/file_name//' '{}' +?