Automatically add rows to repeater field
<p>I got over 15 different folders with their own .pdf files and I would need to automate my process since I got over 400 pdfs.</p>

<p>So my schema goes this way:
First I have flexible content view to add folder name, and then I got repeater field where I add my file name and file.</p>

<p><strong>Structure looks like this:</strong>
<a href="https://i.stack.imgur.com/ETl4a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ETl4a.png" alt="folder structure"></a></p>

<p>Is there any way to automate this process? Like putting files inside a folder in my server and then run some script to add repeater field rows? So that way I wouldn't have to add everything one by one.</p>