I was trying to unpack a Drupal distribution (which is provided as a
tar archive) without overwriting nor erasing an existing subdirectory
(called sites) and found that even when using --exclude I would not
get the intended result.
The archive contains a basic sites directory which is where you
My Debian system's tar identifies itself as tar (GNU tar) 1.22 and
the output generated with --help includes the following excerpt where
that --no-overwrite-dir option sounds like what you wanted:
Overwrite control:
-k, --keep-old-files don't replace existing files when extracting
On Tue, May 5, 2009 at 1:45 PM, Michael ODonnell
michael.odonn...@comcast.net wrote:
My Debian system's tar identifies itself as tar (GNU tar) 1.22 and
the output generated with --help includes the following excerpt where
that --no-overwrite-dir option sounds like what you wanted:
Greg Rundlett (freephile) g...@freephile.com writes:
p.s. I read the tar man page (more than once), and those options
aren't listed. There is this BUG statement at the bottom:
BUGS
The GNU folks, in general, abhor man pages, and create info
documents instead. Unfortunately, the
On Tue, May 5, 2009 at 1:30 PM, Greg Rundlett (freephile)
g...@freephile.com wrote:
I kept checking The Google for answers, and found another Tape Archive
program called S-tar which apparently does exactly what I was trying
to do: namely not clobber existing directories in an intelligent
On Tue, May 5, 2009 at 4:21 PM, Tom McLaughlin
tmcla...@sdf.lonestar.org wrote:
Just curios, are you saying that when extracting Drupal everything under
sites/ is wiped out? For example any files created by you and not in the
Drupal tarball are gone after extraction? That's the sense I got