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:

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: 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