
Create a nested project skeleton in one idempotent pass - rerun-safe, existing content untouched.
Copy and move files preserving permissions and timestamps, with a guard that never clobbers newer work.
Replace wasteful copies with hard links, track a replaceable target with a symlink, and hunt down broken links.
One deploy tool: scaffold the release, copy preserving, hard-link unchanged assets, atomically swap current.