Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Purpose

  The project contains some scripts to create an Arch Linux repository;
  scripts are very simple, and based on the official documents
    http://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors     [1]

File list

  * rsync.dirs
      Default: pool core extra community
      Directories to be mirrored. See more at
        http://mirror.aarnet.edu.au/pub/archlinux/                   [2]

  * rsync.opts
      Default: -rtlvH --delete-after --delay-updates --safe-links --max-delete=1000
      Options will be passed to rsync command

  * rsync.urls
      List of tier-1 repositories (See [1]). The file may contain many
      lines: the ones started by a sharp are ignored. The first non-comment
      line which is started by *rsync://* will be used

  * sync.sh
      Main script to be invoked

  * stat.sh
      Print current status. You should modify this script before using it

Usage

  * Start to mirror
      ./sync.sh 1>>sync.sh.log 2>&1 &

  * Get current state (required the file 'sync.sh.log')
      ./stat.sh

Author
  Anh K. Huynh <kyanh at viettug dot org>

License
  MIT