Of course, it’s possible but it’s not quite as easy as saying mv *.txt *.html.
mv *.txt *.html
So that I remember this: for i in `find *.txt` ; do mv $i ${i/txt/html}; done
for i in `find *.txt` ; do mv $i ${i/txt/html}; done
references: here and here
You must be logged in to post a comment.