Is there a way to enumerate of all the files in a cookbooks files folder?

Hi all,

Is there a way to enumerate of all the files in a cookbooks files folder? I want to essentially copy every file I have in the folder using cookbook_file but would like to minimise changes that are required if a new file gets added

I think this might help you https://docs.chef.io/resources/remote_directory/