iReplace .index with .snapshots in manpage and README - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 83276cee93b10e5def83fa4ea7400accb9272566 /scm/dedup/commit/83276cee93b10e5def83fa4ea7400accb9272566.gph bitreich.org 70 1parent eee75520164b914f4db72937e055e8809c79b479 /scm/dedup/commit/eee75520164b914f4db72937e055e8809c79b479.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Fri, 22 Feb 2019 15:26:07 +0000 Err bitreich.org 70 i Err bitreich.org 70 iReplace .index with .snapshots in manpage and README Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M Makefile | 2 +- Err bitreich.org 70 i M README | 12 ++++++------ Err bitreich.org 70 i M dedup.1 | 4 ++-- Err bitreich.org 70 i Err bitreich.org 70 i3 files changed, 9 insertions(+), 9 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/Makefile b/Makefile /scm/dedup/file/Makefile.gph bitreich.org 70 i@@ -22,7 +22,7 @@ LDLIBS = -lcrypto -llz4 Err bitreich.org 70 i Err bitreich.org 70 i all: $(BIN) Err bitreich.org 70 i Err bitreich.org 70 i-$(OBJ): arg.h config.h tree.h dedup.h Err bitreich.org 70 i+$(OBJ): arg.h config.h dedup.h tree.h Err bitreich.org 70 i Err bitreich.org 70 i clean: Err bitreich.org 70 i rm -f $(OBJ) $(BIN) $(BIN)-$(VERSION).tar.gz Err bitreich.org 70 1diff --git a/README b/README /scm/dedup/file/README.gph bitreich.org 70 i@@ -5,11 +5,11 @@ For example, to dedup a tar file you can invoke dedup as follows: Err bitreich.org 70 i Err bitreich.org 70 i tar -c ~/dir | dedup -r ~/bak -m "$(date)" Err bitreich.org 70 i Err bitreich.org 70 i-This will create .{cache,index,store} files in the ~/bak Err bitreich.org 70 i-directory. The store file contains all the unique blocks. The index Err bitreich.org 70 i-file contains all the revisions of files that have been deduplicated. Err bitreich.org 70 i-Each revision is identified by its SHA256 hash. The cache file is Err bitreich.org 70 i-only used to speed up block comparison. Err bitreich.org 70 i+This will create .{cache,snapshots,store} files in the ~/bak Err bitreich.org 70 i+directory. The store file contains all the unique blocks. The Err bitreich.org 70 i+snapshots file contains all the revisions of files that have been Err bitreich.org 70 i+deduplicated. Each revision is identified by its SHA256 hash. The Err bitreich.org 70 i+cache file is only used to speed up block comparison. Err bitreich.org 70 i Err bitreich.org 70 i To list all known revisions run: Err bitreich.org 70 i Err bitreich.org 70 i@@ -20,7 +20,7 @@ You will get a list of hashes. Each hash corresponds to a single file Err bitreich.org 70 i Err bitreich.org 70 i To extract a file from the deduplicated store run: Err bitreich.org 70 i Err bitreich.org 70 i- dedup -r ~/bak -e > bak.tar Err bitreich.org 70 i+ dedup -r ~/bak -e > dir.tar Err bitreich.org 70 i Err bitreich.org 70 i Cheers, Err bitreich.org 70 i sin Err bitreich.org 70 1diff --git a/dedup.1 b/dedup.1 /scm/dedup/file/dedup.1.gph bitreich.org 70 i@@ -1,4 +1,4 @@ Err bitreich.org 70 i-.Dd Feb 17, 2019 Err bitreich.org 70 i+.Dd Feb 22, 2019 Err bitreich.org 70 i .Dt DEDUP 1 Err bitreich.org 70 i .Os Err bitreich.org 70 i .Sh NAME Err bitreich.org 70 i@@ -27,7 +27,7 @@ Enable verbose mode. Err bitreich.org 70 i .It Fl e Ar id Err bitreich.org 70 i Extract snapshot with the specified id. Err bitreich.org 70 i .It Fl r Ar root Err bitreich.org 70 i-Set the root directory where the .cache, .index and .store Err bitreich.org 70 i+Set the root directory where the .cache, .snapshots and .store Err bitreich.org 70 i files will be created. Err bitreich.org 70 i .It Fl m Ar message Err bitreich.org 70 i Attach a descriptive message to the snapshot. Err bitreich.org 70 .