A simple bit of bash should be enough:
for file in *; do mv "$file" "$file.suffix"; done
Just in case, best take a backup copy of the files before you start.
On Tue, Jan 24, 2012 at 05:04:53PM +0000, Bernhard Rohrer wrote:
>> I need to rename all the files in a directory by adding a suffix to
> them. the filenames look something like:
>> any help appreciated. this exceeds my comand line skills.
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/
Tom Salmon BEng (Hons)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!