MarcSeibert

Name: Marc Seibert
from: Berlin - Germany

using PmWiki since 2003 as

  • a private notebook and personal homepage
  • in several projects for school and university

Some little helpers:

I saved these scripts in my pmwiki root:

Update script for pmwiki on *nix-servers

 #!/bin/bash 
 cd ../
 wget http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.zip
 unzip pmwiki-latest.zip
 cp -Rfv pmwiki-*/* pmwiki
 rm -rf pmwiki-*

WARNING: This removes all directories containing "pmwiki-" (not "pmwiki")!!

Update new cookbook recipes

 #!/bin/bash
 cd cookbook
 ls > filelist
 sed 's/^/http:\/\/pmwiki.org\/pmwiki\/uploads\/Cookbook\//' filelist > list
 wget -Ni list
 rm list
 rm filelist

This only works for single php-files not zipped recipes because they are not allways standard conform.