[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar 1.29 bug: tar ignores --exclude option
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] tar 1.29 bug: tar ignores --exclude option |
Date: |
Wed, 25 May 2016 00:05:18 -2100 |
Hi Ben,
The --exclude option is position-sensitive, which means it applies to
any arguments or options appearing after it in the command line.
Therefore the correct tar invocation is:
tar zcvvfXT - excludes includes
Please see 3.4.4 "Position-Sensitive Options"[1], for details.
Regards,
Sergey
[1] http://www.gnu.org/software/tar/manual/html_section/tar_22.html