delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/04/20:33:39

X-Spam-Check-By: sourceware.org
Message-ID: <452452D6.7000909@cygwin.com>
Date: Wed, 04 Oct 2006 20:33:26 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin unix commands in windows
References: <BAY120-F373EEC2F5FB1C8E2FAA4C38B1D0 AT phx DOT gbl>
In-Reply-To: <BAY120-F373EEC2F5FB1C8E2FAA4C38B1D0@phx.gbl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Tom Lee wrote:
> Hello,
> 
> after further study, I noticed that using "c:/directory" works fine with 
> my tests except tar.exe.
> 
> all of the following commands works
> cp.exe c:/temp/tuner.h c:/test/
> mv.exe c:/temp/tt.h c:/test
> 
> for tar.exe,
> tar test.tar c:/temp/*
> works.
> however,
>  tar cvf c:/test.tar  c:/temp/*
> and
>  tar xvf c:/test.tar
> will fail
> 
> is tar.exe the only exception that won't work correctly when using "c:/"?
> 
> from my test, I didn't see any other commands has the problem in 
> handling "c:/"
> 
> I understand people here may like /cygdrive/c more than c:/.  Just want 
> to know if it is an accident feature that all other commands can work 
> with c:/ except tar?

Tom, have you ever read the man page for 'tar'?  Now might be a good time.
Pay special attention to the "--force-local" flag.

This is not a Cygwin issue.  Further discussion if it in this thread is
therefore off-topic for this list.  You'll have to find another mailing list
to follow-up with if you want to talk about this more.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019