7
rated 0 times
[
7]
[
0]
/ answers: 1 / hits: 2527
/ 9 Months ago, thu, january 5, 2023, 3:18:56
I have a ton of files named this way: [name]_[phonenumber]_HH-mm-ss_dd-MM-yyyy.mp3
.
How can I shift [name]
and [phonenumber]
to the end of file name, and put the date in the beginning in form of yyyy-MM-dd_HH-mm-ss
so I get yyyy-MM-dd_HH-mm-ss_[name]_[phonenumber]
?
Here is an actual file name: [Unknown]_[+74999519075]_18-01-36_17-01-2014.mp3
I've tried rename
, but due to lack of regexp knowledge I didn't come up with a working solution.
More From » command-line