X-Spam-Check-By: sourceware.org Message-ID: <469427FC.9020102@byu.net> Date: Tue, 10 Jul 2007 18:44:44 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, kbhasker AT cisco DOT com Subject: Re: Cygwin tar1.16.1 - stdout/stdin behaviour on windows References: <8EB00AB9BCE95E4DBADDDB25EBCBF95D037DA0B7 AT xmb-blr-418 DOT apac DOT cisco DOT com> In-Reply-To: <8EB00AB9BCE95E4DBADDDB25EBCBF95D037DA0B7@xmb-blr-418.apac.cisco.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to kavitha Bhasker -X (kbhasker - Infosys at Cisco) on 7/10/2007 9:49 AM: > Hi, > > Iam using the Cygwin Tar version 1.16.1 on an Windows NT Server , I have > the following dll's copied to the same path as the tar.exe > From cygwin/1.5.24-2 : cygiconv-2.dll cygintl-8.dll > cygwin1.dll As Larry pointed out, manually copying .dlls like this is unsupported; this list recommends a proper cygwin installation using setup.exe. Not to mention that you should upgrade - I no longer support 1.16.1 on this list, now that 1.18 is the latest official cygwin version. > > Iam able to run the command : tar --forcelocal -cvf C:\\temp.tar > C:\\temp successfully. Define 'successfully'. You used DOS paths, and backslashes, neither of which are the cygwin way. In tar, the : in the file name is treated as a remote host designator (ie, find the file \temp.tar on the remote host C), not a drive letter. And \ is not portable; you should be using /. tar --forcelocal -cvf /cygdrive/c/temp.tar /cygdrive/temp > > However, am not able to tar -tvf on the file.Just gives blank response. > I cannot even open the .tar file created using winzip. Says Invalid Tar > file winzip is pathetic in its treatment of tar files. You will have better luck using tar than winzip for properly extracting files from a tar archive. > > Command 2) Just does not see to like stdin and refuses to extract the > file to the local directory probably because you weren't using posix paths. > > Please help.Is there any known issue with cygwin tar and stdout/stdin > behaviour on windows? tar works just fine for me under cygwin, when used properly. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net volunteer cygwin tar maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlCf884KuGfSFAYARAotmAKCZmagzHCV/rpl7OAUNIt+mt+OV/gCgnke8 /ma5y1iSV4BVuqIrBGVzGEQ= =FPDm -----END PGP SIGNATURE----- -- 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/