]> git.ozlabs.org Git - next-scripts/commitdiff
add backup_next
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Sep 2008 09:00:47 +0000 (19:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Sep 2008 09:00:47 +0000 (19:00 +1000)
backup_next [new file with mode: 0755]

diff --git a/backup_next b/backup_next
new file mode 100755 (executable)
index 0000000..826dfa5
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rsync -avHP --include next/.git --include next/.git/'**' --exclude next/'**' \
+       --include quilt/.git --include quilt/.git/'**' --exclude quilt/'**' \
+       --include tools/.git --include tools/.git/'**' --exclude tools/'**' \
+       next/ fs:next/