Node script to copy files in multiple sub-folders to a single folder.
Download file to any locationa and change the src path to the main root folder that contains all your files and flders.
Change the dest path to a folder where you want all files to be copied to.
deleteFolders
can be true if you want the folders to be deleted or false if you want them to remain as it is.
To run node copy.js