Hacker News new | ask | show | jobs
by ori_b 6218 days ago
Or just use 'rename':

     $ rename s/foo$/bar/ *foo