I am creating a script which would enable me do something in a shorter amount of time. Is there a way that I can rename a file automatically from:
WDMyCloud_plexmediaserver_1.16.1.1291.bin(07082019)'
to
WDMyCloud_plexmediaserver_1.16.1.1291.bin
So it would detect the numbers, but would delete the part after .bin
.
I am using Ubuntu.