Rename all files which contain the sub-string ’foo’, replacing it with ’bar’

/rename-all-files-which-contain-the-sub-