Chris D said:
As a workaround, assuming these are "default" images for something, you might want to have the default images in a different directory and then copy them during install to the abstracted path. Otherwise you will be having to expect people to upload those manually if they aren't using a default setup.
I do have a couple of add-ons that have literally hundreds of files that are used for various purposes, that need to be included in the data path. Mainly because they get updated periodically by a cron task or they can be written to by other processes using the abstracted file system.
I can walk the directories and individually copy the files with 'copyFileToAbstractedPath'. But that seems a bit cumbersome.
'renameFile' works locally to move the entire directory using 'config('externalDataPath')', but would it also work in the cases you mentioned?
Or if you have another suggestion, I'm open to it.