When I get a file whose name contains the string "x264", I wish to change its extension to ".mp4" (for reasons too detailed to explain here). Examples:
What script can I use to automatically make such a change? My computer is a NAS4FREE server running FreeBSD 11.1
UPDATE (after Jeff's response): I forgot to mention that I want this to work in the designated directory and all its sub-directories as well. Perhaps a command rather than a script?