aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg/publish
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg/publish')
-rwxr-xr-xtests/pkg/publish17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pkg/publish b/tests/pkg/publish
new file mode 100755
index 0000000..00453cc
--- /dev/null
+++ b/tests/pkg/publish
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Some commonly useful addtional options that can be specified via the
+# command line:
+#
+# --dry-run
+# --progress
+#
+rsync -v -rlpt --copy-unsafe-links \
+--prune-empty-dirs --delete-after --delete-excluded $* \
+--include '*/' \
+--include '*.tar.gz' \
+--include 'packages' \
+--include 'repositories' \
+--include 'signature' \
+--exclude '*' \
+1/build2.org/ build2.org:/var/pkg/1/