rmgharc Manual
For more information on archives, please see
Making an archive for Glimpse HTTP.
What is rmgharc?
rmgharc is the Glimpse HTTP script file that removes
an archive by removing all the files
associated with an archive.
To remove all of the files, it must traverse all subdirectories.
rmgharc assumes that all subdirectories of an archive
are within that archive. If there is an archive A within
subdirectories of an archive B, deleting B will
delete all the ghindex.html files of archive A.
So, to delete B without deleteing A, first delete
B (and delete A's ghindex.html files),
then either:
- run A's ghreindex script,
which will regenerate the glimpse index and
the ghindex.html files, or
- run ghgenhtml in
A's archive root directory. See
ghgenhtml's manual for
more information on this script.
Execution of rmgharc
rmgharc is a very simple script to execute.
It will prompt the user for the archive's root directory,
then create a list of files to delete, consisting of:
- archive.cfg in the archive root directory
- ghreindex in the archive root directory
- .ghtemplate.html in the archive root directory
- .gheye.gif in the archive root directory
- ghindex.html files in the archive root directory and all subdirectories
if these files exist (if they do not exist, they
are simply ignored).
For more information on these files, see
here.
When the entire list has been completed, it is printed out, and the
user is asked "Are you sure?". If the user answers 'y', all the
files are deleted. Otherwise, no deleting is done.
Return to the Glimpse HTTP home page

Maintained by Michael Smith
glimpse@cs.arizona.edu