#!/bin/sh ulimit -c unlimited # Some systems have "truss" or "tusc" instead of "strace". # The -f option tells strace to follow children too. strace -f rsync "${@}" 2>/tmp/rsync-$$.out