for f in *.txt; do mv ./"$f" "$f.newname"; doneand the other direction:
for f in *.mine; do mv $f `echo $f | sed 's/\(.*\).newname/\1/'`; doneFrom this post.
Code, computers, and other nonsense. All powered by iguanas, of course.
for f in *.txt; do mv ./"$f" "$f.newname"; donefor f in *.mine; do mv $f `echo $f | sed 's/\(.*\).newname/\1/'`; doneWindow->Preferences->General->Editors->Text Editors->Annotations->(C/C++) Occurrences