]> git.ozlabs.org Git - next-scripts/blob - backup_next
update to_build_host a bit
[next-scripts] / backup_next
1 #!/bin/bash
2
3 host="fs"
4 [ "$1" ] && host="$1"
5
6 rsync -avHP --exclude gitk.cache --exclude next-2'*'/ \
7         --include mmotm/.git --include mmotm/.git/'**' --exclude mmotm/'**' \
8         --include next/.git --include next/.git/'**' --exclude next/'**' \
9         --include quilt/.git --include quilt/.git/'**' --exclude quilt/'**' \
10         --include next-fixes/.git --include next-fixes/.git/'**' --exclude next-fixes/'**' \
11         --delete --delete-excluded next/ "$host":next/