appending text to all files that starts with a string
- by learner135
How do I append a string to all the files in a directory that starts with a particular string?
I tried,
cat mysig >> F*
But instead of appending contents of mysig to all files starting with F, it creates a file named "F*". Obviously wildcard doesn't seem to work.
Any alternatives?
Thanks in advance.
Edit:
Also how do I delete this newly created file "F*" safely?. Using
rm F*
would delete all the files starting with F which I wouldn't want.