Skip to main content

gzip

function

babashka.fs/gzip

(gzip [source-file] [source-file {:keys [dir out-file]}])
Gzips `source-file` to `dir/out-file`. Does not store the `source-file` name in the `.gz` file. The `source-file` is not deleted. Options: * `dir`(s) created if necessary. If not specified, defaults to `source-file` dir. * `out-file` if not specified, defaults to `source-file` [[file-name]] with `.gz` extension. Returns the created gzip file. See also: [[gunzip]]

No examples yet. Be the first to add one!