I have a requirement to insert date and timestamp to file name
Example:
If input filename is abc.xyz.123.txt
, then output should be like :
abc.xyz.123.yyyyddmmhhssmm.txt
It has to find the last place where . occurs in filename and insert date and timestamp at that place.
Please help.