tox_profile/.rsync.sh
emdee@spm.plastiras.org ae6b8f443c update
2023-12-18 06:30:54 +00:00

8 lines
269 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 \*~ --exclude \*.so \
./ ../tox_profile.git/|grep -v /$