[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Support for UNC paths in gnu tar
From: |
Bowie, Lee |
Subject: |
RE: Support for UNC paths in gnu tar |
Date: |
Thu, 6 Jun 2002 09:51:12 -0400 |
Quite the contrary.
A command such as
tar ztf s:\dir\file.tar.gz
or
tar ztf s:/dir/file.tar.gz
works.
If I try
tar ztf //host/dir/file.tar.gz
or
tar ztf \\host\dir\ile.tar.gz
it doesn't.
I'm using the this tar ftp://ftp.gnu.org/gnu/tar/tar-1.12.msdos.exe
If this is not the "official" release what is?
The -P option doesn't help when attempting to use a UNC path.
-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden
Sent: June 6, 2002 1:07 AM
To: Bowie, Lee
Cc: 'address@hidden'
Subject: Re: Support for UNC paths in gnu tar
On Wed, 5 Jun 2002, Bowie, Lee wrote:
> Are there any plans to support UNC paths in the next release of gnu tar
for
> dos? Any date for the next release?
Since the current official distribution of GNU Tar does not yet support
DOS and Windows (including file names: even the simple "d:/foo/bar" style
file name causes it to break), it is not meaningful to ask about addition
of support for UNCs.
As a work-around, you could try using the UNC directly, but with forward
slashes instead of backslashes, as in "//server/share/foo/bar". If Tar
removes the leading slashes (that's the default on Unix and GNU/Linux
systems, but I don't know what the port you are using will do), use the
"-P" option to override that.
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.