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