Table of Contents
The Wacs system has actually been around quite a few years now and in the earlier releases almost all the collection administration was performed using command line tools. While we've been busy developing new web-based tools over the course of the Wacs 0.7.x and 0.8.x release series, the old command line tools are most definitely still there and perfectly functional. In a few cases (updateinfo, delset) they are the only way of doing a specific obscure task; in others they may simply be useful building blocks for your use of Wacs. For instance, the addmodel script might be useful in writing a migration script from your previous storage method.
In this chapter, we're going to look at what exists and what they can do for you... there are still a few tasks for which they are the only way to do certain things. Firstly, lets summarise what is available:
Table 15.1. Command Line Tools
Command | Web Equiv | Description |
---|---|---|
addmodel | wacsmodelmgr | Creates a new model record |
addassoc | wacsaddassoc (new in 0.8.4) | Associates a model with a pre-existing set |
delset | None | Deletes a set from the Wacs database |
generate | wacsplacemgr and wacsinfomgr | Creates new icons from the image sets, then runs updateinfo (see below) |
genvideo | wacsplacemgr and wacsinfomgr | Creates new video sets and updates existing ones (actually used directly by the web-based tools) |
updateinfo | wacsplacemgr | Creates new image sets and updates existing ones (actually used directly by the web-based tools) |
updatestats | None | Updates the statistics in each model's records based on the sets she's associated with - should be run nightly |
wacsblogctl | None | Manages blog entries - dumps them out to HTML files, loads them in from simple HTML files |
We're going to split these command line applications down into two categories - those that handle data manipulation and those that perform processing tasks that require no other intervention. The addmodel, addassoc and delset commands fall into the former category; generate, genvideo, updateinfo and updatestats into tha later.