Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loaddemo: fix copying files from demo/media.
If demo files are placed in first-level subdirectories of the media directory, they were not being copied correctly when loading the demo. For example, "demo-files/media/ethics/Ethics_Approval_....txt" was incorrectly copied as "media/ethics" rather than "media/ethics/Ethics_Approval_....txt". Additionally, ensure that the destination directories are created if they don't already exist.
- Loading branch information