Say you are in your home dir and you want to create a copy or rename
/usr/share/icons/ridiculously/nested/shit.ico . One way is to cd into that dir and do your stuff. Another way is to repeat this whole train path twice. Third and less typing way is this:
What this does is rename
shit.png. So, the first argument in the curly braces is the extension as it was and the second as it will be.
Useful when you want to rename config files.
The above command copies
config.yml. Notice the the second argument is blank, meaning that we strip the extension
This works for directories as well.