dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 067e9ecb71b543b24683fc32bf03dc2e2874a55d
parent bb44cc730e657c5aca7aa27841e7fdfa6c083cdf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 17 Apr 2019 20:58:35 +0200

dunpack: write to stdout and describe in man page

Diffstat:
Mdunpack.1 | 2+-
Mdunpack.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dunpack.1 b/dunpack.1 @@ -13,7 +13,7 @@ .Nm extracts the snapshot specified by .Ar id -from the dedup repository. +from the dedup repository and writes the data to stdout. If no .Ar repo is specified, then the current directory diff --git a/dunpack.c b/dunpack.c @@ -278,7 +278,7 @@ main(int argc, char *argv[]) init(); str2bin(id, md); args.md = md; - args.fd = STDIN_FILENO; + args.fd = STDOUT_FILENO; args.ret = -1; walk_snap(extract, &args); if (args.ret != 0)