Weblog (or Blog)


Monday, July 01, 2019

Terminal commands for generating web pages for /blog folder:

//Change to directory where blosxom.cgi resides:

cd /Library/WebServer/CGI-Executables

//Run blosxom:

perl /Library/WebServer/CGI-Executables/blosxom.cgi -password='tige1300' -all=1

//If need to change timestamp on any files, open second Terminal window and:

cd /Library/WebServer/Documents/blosxom

//Change timestamp of desired file:

touch -t 201402091500 filename.txt

//Upload blog

rsync -av /Library/WebServer/Documents/blog/ jcb37310_jimsite@ssh.phx.nearlyfreespeech.net:/home/public/blog/

Need to eventually write a bash script to do this. UPDATE: completed 2019-05-03 13:26. Script name is blog.

posted at: 16:35 | path: | permanent link