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