xref: /freebsd/usr.bin/gzip/zforce.1 (revision 3bdf775801b218aa5a89564839405b122f4b233e)
1.\"	$NetBSD: zforce.1,v 1.2 2003/12/28 12:43:43 wiz Exp $
2.\"	$OpenBSD: zforce.1,v 1.1 2003/07/29 11:50:09 otto Exp $
3.\"
4.\" Copyright (c) 2003 Otto Moerbeek <otto@drijf.net>
5.\"
6.\" Permission to use, copy, modify, and distribute this software for any
7.\" purpose with or without fee is hereby granted, provided that the above
8.\" copyright notice and this permission notice appear in all copies.
9.\"
10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\"
18.\" $FreeBSD$
19.Dd January 26, 2007
20.Dt ZFORCE 1
21.Os
22.Sh NAME
23.Nm zforce
24.Nd force gzip files to have a .gz suffix
25.Sh SYNOPSIS
26.Nm zforce
27.Ar
28.Sh DESCRIPTION
29The
30.Nm
31utility renames
32.Xr gzip 1
33files to have a
34.Sq .gz
35suffix, so that
36.Xr gzip 1
37will not compress them twice.
38This can be useful if file names were truncated during a file transfer.
39Files that have an existing
40.Sq .gz ,
41.Sq -gz ,
42.Sq _gz ,
43.Sq .tgz
44or
45.Sq .taz
46suffix, or that have not been compressed by
47.Xr gzip 1 ,
48are ignored.
49.Sh SEE ALSO
50.Xr gzip 1
51.Sh CAVEATS
52.Nm
53overwrites existing files without warning.
54