[NTLUG:Discuss] tar --exclude doesn't

kbrannen@gte.net kbrannen at gte.net
Tue Oct 7 22:46:45 CDT 2003


Courtney Grimland wrote:
>> From the man page:
>>
>>  --exclude=FILE
>>        exclude file FILE
>>
>>Please note, a single file, no globbing promised.
>>
>>[globbing, a.k.a wildcard expansion; in general unix utils don't do
>>this 
>>themselves, the shell does it for you and passes the now multiple
>>args to the 
>>program (or the wildcarded string if there is no expansion
>>possible)]
> 
> 
> [root at mercury ~]# tar --help | grep exclude
>     --exclude=PATTERN      exclude files, given as a globbing PATTERN
> -X, --exclude-from=FILE    exclude globbing patterns listed in FILE

OK, I'm curious, what distro and what version of tar?  I get:

[7 ~ /home/kevin] tar --version
tar (GNU tar) 1.13.25

Kevin




More information about the Discuss mailing list