This is a quote from the rename
man page:
For example, to rename all files matching "*.bak" to strip the extension, you might say rename 's/\e.bak$//' *.bak
Why is there a \e
?
The command doesn't seem to work, whereas the simpler command rename 's/\.bak$//' *.bak
does the job. Could it be a mistake in the documentation ?