# Time to update zim archives 2025-02-16T14:21:42Z I'm currently in the mood of archiving data I appreciate. For me, for my kids, and just in case a government ask for theirs deletion. Amongst others things, there are wikipedia and such kind of stuff. I don't see kiwix-tools anymore in openbsd ports, but zim arcive are still relevant. Here is how I update them: ``` #!/bin/sh # update zim files # see https://wiki.kiwix.org/wiki/Content_in_all_languages # require aria2 (torrent) or curl zim_dir=~/docs/zim zim_library=~/docs/zim/library.xml zims="wikipedia_fr_all_nopic wiktionary_fr_all_nopic vikidia_fr_all_maxi lesbelleshistoires_fr" dlurl="https://download.kiwix.org/zim" mkdir -p "${zim_dir}" cd "${zim_dir}" for z in ${zims}; do # please uncomment to use torrent if you can. Install aria2 to do so zimurl="${dlurl}/${z}.zim" zimtorrent="${zimurl}.torrent" aria2c --seed-time=0 "${zimtorrent}" # disable seed rm *.torrent # direct download #curl -L -O -C - "${zimurl}" done ``` --- Comments: => mailto:prx@si3t.ch?subject=update-zim => xmpp:fremen@chat.si3t.ch?join fremen@chat.si3t.ch