By default when we copy and paste a file in same directory Ubuntu creates duplicate file and renames it to origname (copy).ext
.
But I want to rename all those files such that the files like those names be renamed to origname_copy_02082016.ext
means with todays date at the end just before extension.
How can I do that with regex
and rename
command ?