9 lines
315 B
Bash
9 lines
315 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 \*~ \
|
|
--exclude __pycache__ --exclude \*.egg-info --exclude \*.new \
|
|
./ ../toxygen.git/|grep -v /$
|