Introduction:
I have a personal licence, I found this program while googling for my issue: I hope I can use javascrit.
So i have a list of files whose name are like:
[000277].mp4
[000278].mp4
[000279].mp4
[000280].mp4
[000281].mp4
[000282].mp4
I need to change the name following a pattern like:
The first one is the back, the second one is the left, 3* right and 4* front.
And i need a timestamp (i don't care about time, but i need it is different every 4 files.
ok?
So I need to change the name from that list to the following:
2021-12-07_15-24-40-back.mp4
2021-12-07_15-24-40-front.mp4
2021-12-07_15-24-40-left_repeater.mp4
2021-12-07_15-24-40-right_repeater.mp4
and then again, 1 minute later
2021-12-07_15-25-40-back.mp4
and so on.
Question is: Can I enumerate the file list so i can rename by a defined pattern?