test003 - 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
---
test003 (214B)
---
1 #!/bin/sh
2 set -ex
3
4 repo=`mktemp -u`
5 data=`mktemp`
6 dd if=/dev/urandom of="$data" bs=1M count=64
7 ./dup-init -Z snappy "$repo"
8 ./dup-pack -r "$repo" snap0 < "$data"
9 ./dup-check -r "$repo" snap0
10 rm -rf "$repo" "$data"