delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/30/23:32:26

X-Spam-Check-By: sourceware.org
Message-ID: <BAY22-F7319AE2ECFA7C03B4B4BC8B1E0@phx.gbl>
X-Sender: tom_lee01 AT hotmail DOT com
In-Reply-To: <451F2DF0.2080803@byu.net>
From: "Tom Lee" <tom_lee01 AT hotmail DOT com>
To: ebb9 AT byu DOT net
Cc: cygwin AT cygwin DOT com
Subject: Re: mssing packages for cygwin
Date: Sun, 01 Oct 2006 03:32:14 +0000
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

> > I read mount and cygpath manual, but still not sure if there is a way
> > that I can
> > run
> > tar cvf test.tar c:/test or
> > tar cvf test.tar c:\test
> >
>
>Actually, from either a DOS or a bash (or other cygwin) shell, you can do:
>
>tar cvf test.tar /cygdrive/c/test
>
>Get used to POSIX paths - cygwin is a Linux emulation for Windows, and
>POSIX paths will work in more places than DOS paths (not to mention that
>backslashes are a pain to use on the command line with regards to proper
>quoting rules between the two different styles of shells, but forward
>slashes work great in both cases).


tar cvf test.tar /cygdrive/c/test is nice to work.

howver, can I mount /cygdrive/c as c:/ and run as
tar cvf test.tar c:/test ?

I have tar.exe djgpp and it works this way.

Thanks.

Tom

_________________________________________________________________
Be seen and heard with Windows Live Messenger and Microsoft LifeCams 
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://www.microsoft.com/hardware/digitalcommunication/default.mspx?locale=en-us&source=hmtagline


--
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