Compare commits

...

2 Commits

Author SHA1 Message Date
e8d6e2df1e Makefile 2024-08-10 13:54:35 +02:00
000adfb4b9 man file dd.gz.1 2024-08-10 13:53:13 +02:00
2 changed files with 75 additions and 0 deletions

View File

@ -7,6 +7,8 @@ PREFIX=/usr
install: install:
cp -rf dd-gz $(PREFIX)/bin/ cp -rf dd-gz $(PREFIX)/bin/
chmod +x $(PREFIX)/bin/dd-gz chmod +x $(PREFIX)/bin/dd-gz
cp -rf dd-gz.1 $(PREFIX)/share/man/man1/
uninstall: uninstall:
rm -rf $(PREFIX)/bin/dd-gz rm -rf $(PREFIX)/bin/dd-gz
rm -rf $(PREFIX)/share/man/man1/dd-gz.1

73
dd-gz.1 Normal file
View File

@ -0,0 +1,73 @@
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "dd-gz" "1" "Aug 10, 2024" "2024-08-10" "dd-gz"
.SH NAME
dd-gz \- dd compressing on the fly
.SH SYNOPSIS
.sp
\fBdd-gz\fP backup /dev/<device> /path/<output>.gz
.sp
\fBdd-gz\fP restore /path/<input>.gz /dev/<device>
.SH EXAMPLES
.sp
\fBdd-gz\fP backup /dev/sdc /home/backup/sdc-backup.gz
.sp
\fBdd-gz\fP restore /home/backup/sdc-backup.gz /dev/sdc
.sp
.SH LICENSE
.sp
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.sp
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.sp
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA
.sp
In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the
OpenSSL library under certain conditions as described in each
individual source file, and distribute linked combinations
including the two.
You must obey the GNU General Public License in all respects
for all of the code used other than OpenSSL. If you modify
file(s) with this exception, you may extend this exception to your
version of the file(s), but you are not obligated to do so. If you
do not wish to do so, delete this exception statement from your
version. If you delete this exception statement from all source
files in the program, then also delete it here.
.\" Generated by docutils manpage writer.
.