copy files while preserving directory structure in mac
cp, macos
Solution
I ended up using `rsync -R` to solve this.
Problem
How to copy files from one directory to another while preserving the directory structure in mac? I found that you can use `cp --parents` in ubuntu but unfortunately that doesn't work in mac.