[Watford] Bulk Rename Files

Rob Jefferis rob at letchmore.co.uk
Tue Nov 27 23:40:36 UTC 2012


Hi guys, I have a load of files in a directory with file names similar to below

OUT119-20120702-084956-1341215396.177198.gsm

It is basically OUT(dialingextensionnumber)-DATE-TIME-UNIQUEID.gsm

I would like to somehow bulk rename all the files in this folder to strip everything other than the uniqueid.gsm bit

So in this case I want the file to end up called

1341215396.177198.gsm


Is there a quick way to do this?

Thanks

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/watford/attachments/20121127/3af5bfbd/attachment.html>


More information about the Watford mailing list