Functions | |
bool | TarballSetup (char *cAppPath) |
Verifies that gzip and tar are where we expect them to be (in the same directory as the executable). | |
void | ZipFile (char *cFileName, char *cAppPath) |
Zips a file with GZIP. | |
void | AddFileToTarball (char *cTarball, char *cFileToAdd, char *cAppPath) |
Adds a file to the end of a tarball. | |
void | AddFileToNewTarball (char *cTarball, char *cFileToAdd, char *cAppPath) |
Creates a new tarball and adds a file to it. | |
void | DeleteThisFile (char *cFile) |
Deletes a file. |
Copyright 2003 Charles D. Canham.
|
Creates a new tarball and adds a file to it. Any existing tarball of that name will be overwritten. If the tarball does not exist, it will be created. The file to add can be either zipped or not zipped.
|
|
Adds a file to the end of a tarball. If the tarball does not exist, it will be created. The file to add can be either zipped or not zipped.
|
|
Deletes a file.
|
|
Verifies that gzip and tar are where we expect them to be (in the same directory as the executable). This should be called before either of the functions below and a fatal error thrown if it returns false.
|
|
Zips a file with GZIP. If the file does not exist, the function does nothing.
|