Skip to content

Instantly share code, notes, and snippets.

@athompso
Created December 19, 2019 08:22
Show Gist options
  • Save athompso/d476f4e6a35568c8fce6007ffa96186d to your computer and use it in GitHub Desktop.
Save athompso/d476f4e6a35568c8fce6007ffa96186d to your computer and use it in GitHub Desktop.
debug output of CRAN rsync run
mirror@muug:~$ DEBUG=1 ./mirror.sh cran
+ '[' -z cran ']'
+ type cran
+ head -1
+ grep function
+ :
+ '[' -z 1 ']'
+ flock -w 1800 200
+ mkdir -p /home/mirror/logs/cran
+ '[' -n 1 ']'
+ cran
+ MIRROR=cran.r-project.org
+ run_rsync cran.r-project.org::CRAN cran
+ test -d /mirror/cran
+ rsync -vaxH --delay-updates --delete-after --numeric-ids --timeout=7200 --max-delete=100000 -f 'R .~tmp~/' --exclude .cache --exclude debug --exclude lost+found --exclude .trace cran.r-project.org::CRAN/. /mirror/cran/.
++ date +%F_%T
+ tee /home/mirror/logs/cran/2019-12-19_01:02:26
receiving file list ... done
./
.htaccess
CRAN_mirrors.csv
TIME
banner.shtml
banner.shtml.in
mirmon_report.html
mirmon_report_old_release.html
mirmon_report_release.html
mirror-howto.html
mirrors.html
report_cran.html
report_www.html
robots.txt
sources.html
bin/linux/debian/
bin/linux/debian/index.html
bin/linux/debian/buster-cran35/
bin/linux/debian/buster-cran35/InRelease
bin/linux/debian/buster-cran35/Packages
[...]
mirror@muug:~/logs/cran$ cat /ARRAY/mirror/cran/TIME
1575799561
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment