Bash/unix file renaming
Of course, it’s possible but it’s not quite as easy as saying mv *.txt *.html
.
So that I remember this:
for i in \`find *.txt\` ; do mv $i ${i/txt/html}; done
Of course, it’s possible but it’s not quite as easy as saying mv *.txt *.html
.
So that I remember this:
for i in \`find *.txt\` ; do mv $i ${i/txt/html}; done