Hi Bernhard,
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.
Tom.
On Tue, Jan 24, 2012 at 05:04:53PM +0000, Bernhard Rohrer wrote:
> Hiya
>> I need to rename all the files in a directory by adding a suffix to
> them. the filenames look something like:
> 1326659048.M664667P14231.office.domain.net,S=2287,W=2346:2,Sa
>> any help appreciated. this exceeds my comand line skills.
>> Thanks
>> Bernhard
> --
> 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)
Software Engineer
http://tomsalmon.eu/
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!