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. |
Use,
krename Application, comes with KDE and may need to be installed Super useful. Can be used as a plugin for digicam, this is super useful too! The Monkey |
cool, thanks for the tip.
i didn't know about krename. it works well. |
Can someone tell me how can we do this using shell script???
|
rename .jpg -1024.jpg *.jpg
No script involved. |
Great!!!!
Thanks alot. |
All times are GMT -5. The time now is 07:09 AM. |