Node:Adding a shell program, Next:Changing a shell program, Up:Making Alterations
To associate a shell program with a file extension for a given
account, you must add a record to the shell
database file. To
add a record to the shell
database file, you must specify the
file extension and the full path of the shell program.
The following example will associate the changebase
shell program
with the html
file extension for the personal
account.
webpublish --add -F shell -a personal -e html -P /home/mydir/changebase
This example will cause the changebase
program to be called
everytime that WebPublish is about to transfer a file with an
html
file extension, while publishing the personal
account.