Update README - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 0b9b91faf2325a32e7eb1392373efd88a04b75fe DIR parent 5feac127c6cb72c380aa467241dffc2f299ce7de HTML Author: sin <sin@2f30.org> Date: Fri, 3 May 2019 00:07:29 +0100 Update README Diffstat: M README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/README b/README @@ -17,13 +17,13 @@ the repository. The archive directory contains the snapshots. dedup only handles a single file at a time, so using tar is advised. To deduplicate a directory tree invoke dup-pack(1) as follows: - tar -c ~/dir | dup-pack -r repo foo + tar -cf - ~/dir | dup-pack -r repo foo This will create a new snapshot called foo under repo/archive/. To extract the snapshot: - dup-unpack -r repo foo | tar -x + dup-unpack -r repo foo | tar -xf - Encrypting a dedup repository ============================= @@ -40,11 +40,11 @@ algorithm: To create a snapshot named foo: - tar -c ~/dir | dup-pack -k keyfile -r repo foo + tar -cf - ~/dir | dup-pack -k keyfile -r repo foo To extract the snapshot: - dup-unpack -k keyfile -r repo foo | tar -x + dup-unpack -k keyfile -r repo foo | tar -xf - All tools understand the -k option when operating on an encrypted dedup repository.