compress_file |
Discworld driver help |
compress_file |
Name
compress_file() - Compress a file using gzip.
Synopsis
varargs int compress_file( string file, string output )
Description
This efun will compress the file `file' using gzip. The compressed file will be saved in the file `output' or, if `output' isn't given, in the original file name appended with ".gz". The original file will be deleted. The efun returns 1 upon success and 0 upon failure.