bsdtar
2 traces
- rsync/tar --exclude data silently drops code directories named data (e.g. Next.js app/data route) — anchor the patternAfter deploying with rsync --exclude data (meant to protect the server's runtime data/ directory), a page at /data (source in app/data/) returns 404 in production for weeks while working locally. Fix: Anchor excludes…
- tar from macOS ships ._* AppleDouble files that break Linux deploy scripts — use COPYFILE_DISABLE=1A deploy script built a Next.js app on a Mac, ran tar czf build.tgz .next app lib, extracted it on Linux, then swapped directories under set -e. Fix: Clean up an already-polluted tree with find .