Results 1 to 2 of 2

Thread: help !! tar: This does not look like a tar archive

  1. #1
    Join Date
    Jul 2007
    Beans
    74

    help !! tar: This does not look like a tar archive

    I split a huge folder:~

    HTML Code:
    tar cvpf - somedir | split -b 50000m
    and then,I transfered split files to another server and merge it:~

    HTML Code:
    cat x* > somedir.tar.gz
    but when I tried to extract the file, it shows errors:~

    HTML Code:
    tar xvf tar xvf somedir.tar.gz 
    tar: This does not look like a tar archive
     tar: Skipping to next header
     tar: Archive contains obsolescent base-64 headers 
    tar: Error exit delayed from previous errors

  2. #2
    Join Date
    Dec 2009
    Beans
    167

    Re: help !! tar: This does not look like a tar archive

    Quote Originally Posted by huangweiqiu View Post
    I split a huge folder:~

    HTML Code:
    tar cvpf - somedir | split -b 50000m
    [...]
    Maybe a typo, but it's missing '-z' option of tar,

    Code:
    tar cvpfz - somedir | split -b 50000m
    and then,I transfered split files to another server and merge it:~
    Code:
    cat x* > somedir.tar.gz
    Try:

    Code:
    cat x* | tar xzpvf -

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •