Another quick one because I keep forgetting the exact syntax, renaming lots of files from the command line
for i in `ls *.pdf` ; do cp $i ${i/pdf/orig}; done
this example lists all files that end in .pdf and then removes the pdf and replace it with orig. Simple and now I should remember it and hopefully it should be useful to some others out there