Hi I'm trying to copy a folder to a new folder (recursively), I've found a working example however it only copies one child directory within the parent, the last directory to be exact.
(this is the copyDir func I copied: https://stackoverflow.com/a/26038979/10949890)
I have about 7+ folders within the parent I want to copy them all within a new directory.
Perhaps I need to change something on my input?
<input
type="file"
id="file-picker"
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
webkitdirectory="true"
directory="true"
onChange={handleSelectedFiles}
/>