I have a folder containing multiple files such as
I would like to append the string .txt at the end of every file. How can I do that with the command line?
You mean you want to rename the files
foreach i (*)
mv "$i" "$i.txt"