toxygen/.rsync.sh

9 lines
313 B
Bash
Raw Normal View History

2023-12-17 00:00:38 +00:00
#!/bin/sh
find * -name \*.py | xargs grep -l '[ ]*$' | xargs sed -i -e 's/[ ]*$//'
rsync "$@" -vax --include \*.py \
--exclude Toxygen.egg-info --exclude build \
--exclude \*.pyc --exclude .pyl\* --exclude \*~ \
2024-02-05 14:58:00 +00:00
--exclude __pycache__ --exclude \*.egg-info --exclude \*.new \
2023-12-17 00:00:38 +00:00
./ ../toxygen.git/|grep -v /$