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
If you're needing to do this via a script, you can use echo and append redirection to get the extra text into the files.
FILES=pathto/* for f in $FILES ; do echo "#extra text" >> $f done