redo-ifchange all find . \( -name '*.html' -or -name '*.css' -or -name '*.svg' \) -and -not \( -path '*/.cabal-sandbox/*' -or -path '*/htdocs/*' -or -path '*/build/*' \) -print0 | \ xargs -0 -I '{}' -- rsync -Rav --delete '{}' htdocs >&2