Practice
if you need to rename all files with a given extension (.PNG) to a new one (.png) taking subfolder nesting into account, you can use the following command
if you need to rename, only in the current directory, all files that have the extension (.PNG) to the new extension (.png), use the command
note — no spaces inside the quotes
the command uses the following parameters
s= substitution required.
/.PNG/=the string that will be replaced.
/.png/ = the string it will be replaced with
g=global, meaning, all found occurrences will be replaced.
Comments