Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 10:59:28 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <questions@freebsd.org>
Subject:   How to Untar Group of Files?
Message-ID:  <000901c17e88$218fd190$962a6ba5@lc.ca.gov>

next in thread | raw e-mail | index | archive | help
I have a directory with several *.tar.gz files that I want to untar to
another directory.  I tested my command "tar xfvz file.tar.gz -C
/new/dir" and it worked OK.  Next I tried "tar xfvz * -C /new/dir" but
received errors like this:

tar: file1.tar.gz not found in archive
tar: file2.tar.gz not found in archive
tar: file3.tar.gz not found in archive
tar: file4.tar.gz not found in archive

How should I structure my command to untar all the files at once?

Thanks,

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c17e88$218fd190$962a6ba5>