]>
Dogcows Code - chaz/tar/blob - scripts/tarcat
2 # Usage: tarcat volume1 volume2 ...
3 # concatenates a GNU tar multi-volume archive into a single tar archive.
4 # Author: Bruno Haible <bruno@clisp.org>, Sergey Poznyakoff <gray@gnu.org.ua>
7 # Print type character from block N (default 0) of tar archive FILE
9 dd if="$1" skip
=${2:-0} bs
=512 count
=1 2>/dev
/null
|
14 case `dump_type "$1"` in
24 if [ -n "$PAX" ]; then
25 if [ "$T" = "g" ]; then
26 # Global extended header.... 2 blocks
27 # Extended header........... 2 blocks
28 # Ustar header.............. 1 block
29 # FIXME: This calculation is will fail for very long file names.
33 if [ "$T" = "V" ]; then
36 if [ "$T" = "M" ]; then
This page took 0.034633 seconds and 4 git commands to generate.