rename files
If i have a directory of files, e.g.
tree.jpg
dog.jpg
dog2.jpg
trail.jpg
bigview.jpg
how do i rename them such that each prefix is appended with "-1024", like so:
tree-1024.jpg
dog-1024.jpg
dog2-1024.jpg
trail-1024.jpg
bigview-1024.jpg
I've played with the rename command, but can't come up with anything that works.
|