This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin unix commands in windows


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]