Created
October 31, 2016 22:21
-
-
Save pierew/6d1611b7b5f5e829094c356dfbbb4fd3 to your computer and use it in GitHub Desktop.
How To Mirror archive.raspberrypi.org - Define which folders by changing and Adding Lines, it will add recursive
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 | |
cd <INSERT FOLDER TO DOWNLOAD TO> | |
# LOAD GPG KEY | |
echo "Loading GPG Key..." | |
wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | |
# LOAD JESSIE | |
echo "Loading dists/jessie..." | |
wget -nv --progress=bar -N -m --no-parent --cut-dirs=1 --reject "*.html*" http://archive.raspberrypi.org/debian/dists/jessie/ | |
# LOAD wheezy | |
echo "Loading dists/wheezy..." | |
wget -nv --progress=bar -N -m --no-parent --cut-dirs=1 --reject "*.html*" http://archive.raspberrypi.org/debian/dists/wheezy/ | |
# LOAD POOLS | |
echo "Loading Standard Pools..." | |
wget -nv --progress=bar -N -m --no-parent --cut-dirs=1 --reject "*.html*" http://archive.raspberrypi.org/debian/pool/ui/ | |
wget -nv --progress=bar -N -m --no-parent --cut-dirs=1 --reject "*.html*" http://archive.raspberrypi.org/debian/pool/main/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment