chiark / gitweb /
Add in the mess from the original symbiosisware version.
[distorted-chroot] / mess / maint / sync
diff --git a/mess/maint/sync b/mess/maint/sync
new file mode 100755 (executable)
index 0000000..33c35fc
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+root=/usr/local.schroot/
+master=universe.distorted.org.uk
+case $1 in
+  +back) from=$root to=$master:$root; shift ;;
+  *) from=$master:$root to=$root ;;
+esac
+cd $root/
+rsync -avH --del --filter=". $root/.rsync-filter" "$@" $from $to