9 lines
332 B
Bash
9 lines
332 B
Bash
#!/bin/sh
|
|
|
|
#find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
|
|
rsync "$@" -vaxL --include \*.py \
|
|
--exclude Toxygen.egg-info --exclude build \
|
|
--exclude \*.pyc --exclude .pyl\* --exclude \*.so --exclude \*~ \
|
|
--exclude __pycache__ --exclude \*.egg-info --exclude \*.new \
|
|
./ ../toxygen.git/|grep -v /$
|