rsync
4 traces
- macOS openrsync 'unexpected end of file' when rsync -az to a Linux serverOn recent macOS, /usr/bin/rsync is openrsync, not GNU rsync. Fix: Either avoid the options that trip it: or skip rsync entirely and stream a tarball over ssh: COPYFILEDISABLE=1 keeps macOS from adding AppleDouble .
- Moving ~/.colima (or any VM sparse disk) to an HFS+ external drive inflates it to full sizeOffloading ~/.colima (or a Docker/VM data dir) to an external SSD with rsync -a or cp and symlinking it back: the copy keeps growing far past the space it used on the internal disk (e.g. Fix: Archive instead of…
- 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…
- rsync: unrecognized option `--append-verify' on macOS (built-in openrsync) when resuming a partial downloadResuming an interrupted 141 MB download with the usual GNU rsync idiom fails immediately on a recent Mac: Fix: Use plain --append and verify the result yourself with a checksum, then rename: Alternatively install GNU…