changes
This commit is contained in:
parent
4154b268e1
commit
554572ce14
11
archlinux.sh
11
archlinux.sh
|
@ -1,17 +1,20 @@
|
|||
#written by pardeiscat
|
||||
|
||||
|
||||
path=/home/linuxmirror/archlinux/
|
||||
income=ftp.halifax.rwth-aachen.de/archlinux/
|
||||
income=ftp.halifax.rwth-aachen.de
|
||||
|
||||
name="archlinux"
|
||||
|
||||
path=/home/linuxmirror/"$name"
|
||||
|
||||
|
||||
syync () {
|
||||
|
||||
rsync -rlptH --safe-links --delete-delay --delay-updates rsync://$income $path
|
||||
rsync -rlptH --safe-links --delete-delay --delay-updates rsync://$income/"$name/" "$path"/
|
||||
|
||||
|
||||
}
|
||||
|
||||
echo -e "starting the arch sync"
|
||||
echo -e "starting the "$name" sync"
|
||||
sleep 2
|
||||
syync
|
||||
|
|
14
blackarch.sh
14
blackarch.sh
|
@ -1,17 +1,21 @@
|
|||
#written by pardeiscat
|
||||
|
||||
|
||||
path=/home/linuxmirror/blackarch/
|
||||
income=ftp.halifax.rwth-aachen.de/blackarch/
|
||||
income="ftp.halifax.rwth-aachen.de"
|
||||
|
||||
|
||||
|
||||
name="blackarch"
|
||||
|
||||
path=/home/linuxmirror/"$name"
|
||||
|
||||
|
||||
syync () {
|
||||
|
||||
rsync -rlptH --safe-links --delete-delay --delay-updates rsync://$income $path
|
||||
|
||||
rsync -rlptH --safe-links --delete-delay --delay-updates rsync://$income/"$name"/ $path
|
||||
|
||||
}
|
||||
|
||||
echo -e "starting the blackarch sync"
|
||||
echo -e "starting the "$name" sync"
|
||||
sleep 2
|
||||
syync
|
||||
|
|
Loading…
Reference in New Issue