tox_profile/.rsync.sh

8 lines
280 B
Bash
Raw Normal View History

2023-12-18 06:30:54 +00:00
#!/bin/sh
find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
rsync "$@" -vax --include \*.py \
2024-02-02 19:29:33 +00:00
--exclude \*.egg-info --exclude libs --exclude build \
2023-12-18 06:30:54 +00:00
--exclude \*.pyc --exclude .pyl\* --exclude \*~ --exclude \*.so \
./ ../tox_profile.git/|grep -v /$