[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] option -C ignored when it comes after the source directory
From: |
Bruno Haible |
Subject: |
Re: [Bug-tar] option -C ignored when it comes after the source directory |
Date: |
Sat, 15 May 2010 09:48:39 +0200 |
User-agent: |
KMail/1.9.9 |
Sergey Poznyakoff wrote:
> It does not ignore it. It is simply useless in this form (with no
> arguments following it). The -C option affects all other options
> and arguments that follow it, up to the next -C option or end
> of command line, whichever occurs first. This is important for
> certain tar operations. Consider, for example, this:
>
> tar -cf arc.tar -C /usr/src dir -C /etc default
Thanks for explaining.
Would it be possible to make 'tar' emit a warning when the last '-C'
option comes so late that it is not used?
Bruno