This commit is contained in:
Pardesi_Cat 2023-10-06 21:57:10 +05:30
parent 4154b268e1
commit 554572ce14
Signed by: pardesicat
GPG Key ID: 331A25436287A3CF
2 changed files with 16 additions and 9 deletions

View File

@ -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

View File

@ -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