tox_profile/.rsync.sh

8 lines
329 B
Bash
Raw Normal View History

2023-12-18 07:30:54 +01:00
#!/bin/sh
find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
2024-02-05 14:04:15 +01:00
rsync "$@" -vax --include \*.py --exclude \*.log --exclude \*.out \
--exclude \*.egg-info --exclude libs --exclude dist --exclude build \
2023-12-18 07:30:54 +01:00
--exclude \*.pyc --exclude .pyl\* --exclude \*~ --exclude \*.so \
./ ../tox_profile.git/|grep -v /$