aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rsync-rpm-repo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rsync-rpm-repo.sh')
-rwxr-xr-xscripts/rsync-rpm-repo.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/rsync-rpm-repo.sh b/scripts/rsync-rpm-repo.sh
deleted file mode 100755
index 385d672..0000000
--- a/scripts/rsync-rpm-repo.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# args
-srcdir="$1"
-dstdir="$2"
-rate="${3-16}"
-
-echo "#"
-echo "# srcdir: $srcdir"
-echo "# dstdir: $dstdir"
-echo "#"
-echo "# rsync rpm packages"
-rsync -av --fuzzy --bwlimit=$rate \
- --include "*.rpm" \
- --include "*/" \
- --exclude "*" \
- "$srcdir" "$dstdir"
-
-echo "#"
-echo "# rsync repodata, cleanup"
-rsync -av --delete-after --bwlimit=$rate \
- "$srcdir" "$dstdir"
-
-echo "#"
-echo "# done"
-echo "#"