General TC > Programming & Scripting - Unofficial
repo local mirror
(1/1)
mocore:
curently using the below script to D/L a local copy of repo file's
excluding iso,tcz,tce
so hopfuly just sources , build scripts , release's and repo menta data
taking some htinds wrt space and mirror speed from this thread https://forum.tinycorelinux.net/index.php/topic,22462.msg140709.html#msg140709
and various other sources to craft the below rsync command
--- Code: ---# find a local ish source
mirror_from=mirrors.dotsrc.org::tinycorelinux/
# create dirs
sudo mkdir -p tinycorelinux.net/{2..13}.x/{armv6,armv7,x86_64,x86}
# copy files ( total could be over 177 GB + )
# rsync -dtivhrl --delete --exclude="*.tcz" --exclude="*.tce" --exclude="*.iso" --exclude="*/backup/*" $mirror_from ./tinycorelinux.net/
--- End code ---
ftr : doc script now reports it has a 20gb conection on starting rsync !
mocore:
added exclude for sce extentions !!
--- Code: ---# find a local ish source
mirror_from=mirrors.dotsrc.org::tinycorelinux/
# create dirs
sudo mkdir -p tinycorelinux.net/{2..13}.x/{armv6,armv7,x86_64,x86}
# copy files ( total could be over 177 GB + )
# rsync -dtivhrl --delete --exclude="*.tcz" --exclude="*.tce" --exclude="*.sce" --exclude="*.iso" --exclude="*/backup/*" $mirror_from ./tinycorelinux.net/
--- End code ---
Navigation
[0] Message Index
Go to full version