I have an array with documents paths, is there any way to go through the array and to rename each file on the disk using JavaScript?
For example:
var arr=["../images/1.pdf","../images/2.pdf","../images/3.pdf"];
Desired output:
var arr=["../images/a.pdf","../images/b.pdf","../images/c.pdf"];