#!/bin/bash
rm -rf src dest
mkdir src dest
ln big-file src/big-file
mkdir dest/force
touch dest/force/child{1,2,3}
mkdir src/prune-me
if [ -z "$never_existed" ]; then
	touch src/force
	touch src/prune-me/child
fi

rsync -r -vvi --force --prune-empty-dirs src/ dest/ &
sleep .5
if [ -z "$never_existed" ]; then
	rm src/force src/prune-me/child
fi
wait
find dest -ls
