This is the mail archive of the
mailing list for the Cygwin project.
Re: tar wildcard problem
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Wai-Yip Tung (wtung)" <wtung at cisco dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 30 Dec 2002 10:26:41 -0500 (EST)
- Subject: Re: tar wildcard problem
- Reply-to: cygwin at cygwin dot com
On Sun, 29 Dec 2002, Wai-Yip Tung (wtung) wrote:
> I got some problem using tar.
> * wildcard in -T doesn't work. If I include *.txt in the file list I got
> tar: *.txt: Cannot stat: No such file or directory
> However using *.txt in command line do work. Putting exact file name or
> directory in the file list also works.
> * wildcard in -X file doesn't work. However, if I use it in --exclude it
> does work. Putting exact file name doesn't work either. So -X does
> nothing for me.
> The version information is
> tar (GNU tar) 1.13.25
> Copyright (C) 2001 Free Software Foundation, Inc.
> This program comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute it under the terms of the GNU General Public
> see the file named COPYING for details.
> Written by John Gilmore and Jay Fenlason.
> Hope you can give me some suggestion.
> Thank you,
> Wai yip Tung
Did you escape or quote the wildcards appropriately, so that tar expands
them instead of the shell?
P.S. When asking a new question, it's usually better to start a new
thread, rather than replying to an old one, otherwise people with threaded
mail readers may not notice your query.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html