toxygen/.rsync.sh
emdee@macaw.me 68f28fdac5 fixes
2023-12-17 00:00:38 +00:00

8 lines
249 B
Bash

#!/bin/sh
find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
rsync "$@" -vax --include \*.py \
--exclude Toxygen.egg-info --exclude build \
--exclude \*.pyc --exclude .pyl\* --exclude \*~ \
./ ../toxygen.git/|grep -v /$