Created
October 26, 2020 14:34
-
-
Save commel/828d70dd2ff81c2418d2ac798d3a49f1 to your computer and use it in GitHub Desktop.
opensuse local mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Sync für openSUSE Leap 15.2" | |
mkdir -p repo/oss repo/non-oss repo/oss update/non-oss update/oss | |
mkdir -p packman/essentials packman/extra packman/games packman/multimedia | |
# Sync OSS | |
rsync -rltpv rsync://ftp.gwdg.de/pub/opensuse/distribution/leap/15.2/repo/oss/ repo/oss/ | |
# Sync Non-OSS | |
rsync -rltpv rsync://ftp.gwdg.de/pub/opensuse/distribution/leap/15.2/repo/non-oss/ repo/non-oss/ | |
# Sync Updates Non-OSS | |
rsync -rltpv rsync://ftp.gwdg.de/pub/opensuse/update/leap/15.2/non-oss/ update/non-oss/ | |
# Sync Updates OSS | |
rsync -rltpv rsync://ftp.gwdg.de/pub/opensuse/update/leap/15.2/oss/ update/oss/ | |
# Evtl noch Packman? | |
rsync -rltpv rsync://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.2/Essentials/ packman/essentials | |
rsync -rltpv rsync://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.2/Extra/ packman/extra | |
rsync -rltpv rsync://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.2/Games/ packman/games | |
rsync -rltpv rsync://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.2/Multimedia/ packman/multimedia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment