how to exclude a directory from extraction with "tar"?
Robert P. J. Day
rpjday at mindspring.com
Wed Apr 12 11:14:53 UTC 2006
i've configured BB with all of the relevant options and what i'm
trying to do is extract the contents of a gzipped tarball, excluding a
top-level directory named "./meta".
that directory is clearly there based on listing the contents of the
tarball, and i've tried the incantation:
$ tar --exclude "./meta" -xvzf (tarball)
but i invariably get the "meta" directory extracted along with
everything else. am i missing something? thanks.
rday
More information about the busybox
mailing list