regexp renaming is very complex to me. Could anyone help me?
12323ABCABC.txt 42,300 bytes
DEF123.txt 3,120 bytes
11G22H33I4.txt 21,110 bytes
I wanna remove digits from these files and insert file size(byte) at the end like this.
ABCABC42300.txt
DEF3120.txt
GHI21110.txt
so, i tried to this.
Rename REGEXP PATTERN="(.)([0-9]+)(.)#" TO="\1\3"
Rename to="{name}{size}.{ext}" FILEINFO
It works but comma(,) insert too in the name. I dont' like commas.
ABCABC42,300.txt DEF3,120.txt GHI21,110.txt
What should i do?