]> Dogcows Code - chaz/tar/commitdiff
Concatenate multivolume archives
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 26 Nov 2004 19:08:14 +0000 (19:08 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 26 Nov 2004 19:08:14 +0000 (19:08 +0000)
scripts/tarcat [new file with mode: 0755]

diff --git a/scripts/tarcat b/scripts/tarcat
new file mode 100755 (executable)
index 0000000..9c8fed1
--- /dev/null
@@ -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 <bruno@clisp.org>
+
+cat "$1"
+shift
+for f
+do
+  dd skip=1 if="$f" 
+done
This page took 0.027076 seconds and 4 git commands to generate.