I have a folder full of text files. I need to append the same block of text to each of them (and of course overwrite the original file).
I was wondering what the co
Use append redirection.
for f in *.txt do cat footer >> "$f" done