tox_profile/.rsync.sh
emdee@spm.plastiras.org 84afbe61b8 update
2024-02-02 19:29:33 +00:00

8 lines
280 B
Bash

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