commit f052af1cb6cb2e6967bc16cfaa7a5074c9b6879d
parent b95044a2af2c05607e0d4415e703aa0b4ec04af4
Author: sin <sin@2f30.org>
Date: Thu, 18 Apr 2019 13:25:55 +0100
dup-migrate: Discard metadata while reading
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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