X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=backup_next;h=70abf7fd7752db0996a55f546dc0ae408fab5039;hb=514eb77fc1fb6b7a806f7472ba2aa775af16c02b;hp=f9249a1dc25d25a1f0315e163aab8e707f0bf95f;hpb=4220da645611fa67b0932a8e8f2f5026bcf187c2;p=next-scripts diff --git a/backup_next b/backup_next index f9249a1..70abf7f 100755 --- a/backup_next +++ b/backup_next @@ -3,6 +3,9 @@ host="fs" [ "$1" ] && host="$1" -rsync -avHP --include next/.git --include next/.git/'**' --exclude next/'**' \ +rsync -avHP --exclude gitk.cache --exclude next-2'*'/ \ + --include mmotm/.git --include mmotm/.git/'**' --exclude mmotm/'**' \ + --include next/.git --include next/.git/'**' --exclude next/'**' \ --include quilt/.git --include quilt/.git/'**' --exclude quilt/'**' \ + --include next-fixes/.git --include next-fixes/.git/'**' --exclude next-fixes/'**' \ --delete --delete-excluded next/ "$host":next/