I'm trying to remove some strings from filenames i have in a directory using bash. I've tried the following with no success.
rename --version
rename from util-linux 2.23.2
rename -v 's/[.].*//' *
rename -v 's/\.vesta-01:2,//' *
Original File Name(s):
1667874526.M308257P1693.vesta-01:2,
1667883117.M371701P32232.vesta-01:2,
Desired File Name(s):
1667874526
1667883117