Browse Source

Concatenate multivolume archives

Sergey Poznyakoff 20 years ago
parent
commit
c8b0fd28c2
1 changed files with 11 additions and 0 deletions
  1. 11 0
      scripts/tarcat

+ 11 - 0
scripts/tarcat

@@ -0,0 +1,11 @@
+#! /bin/sh
+# Usage: tarcat volume1 volume2 ...
+# concatenates a GNU tar multi-volume archive into a single tar archive.
+# Author: Bruno Haible <[email protected]>
+
+cat "$1"
+shift
+for f
+do
+  dd skip=1 if="$f" 
+done