dup-migrate: Discard metadata while reading - 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 f052af1cb6cb2e6967bc16cfaa7a5074c9b6879d
DIR parent b95044a2af2c05607e0d4415e703aa0b4ec04af4
HTML Author: sin <sin@2f30.org>
Date: Thu, 18 Apr 2019 13:25:55 +0100
dup-migrate: Discard metadata while reading
Diffstat:
M dup-migrate | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/dup-migrate b/dup-migrate
@@ -21,7 +21,7 @@ oldrepo="$1"
newrepo="$2"
dup-init "$newrepo"
-dup-list "$oldrepo" | while read id
+dup-list "$oldrepo" | awk '{print $1}' | while read id
do
dup-unpack "$id" "$oldrepo" | dup-pack "$newrepo"
done