Your message dated Mon, 4 Feb 2019 10:17:12 -0700 (MST) with message-id <[email protected]> and subject line --exclude is position sensitive has caused the Debian Bug report #655895, regarding tar: Tar ignores --exclude= option to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 655895: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655895 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: tar Version: 1.26-4 Severity: normal Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? I ran tar * What exactly did you do (or not do) that was effective (or ineffective)? tar cf /tmp/foo --exclude home/njh/spider/cgi-bin/search/cache --exclude "mnt/c/Users/Owner/Documents/My Webs/w32-clamav/downloads --exclude-backups --exclude=\*.mp3 --exclude=\*.wav " `cat usr/local/lib/dirs/8gstick` tar tvf foo | fgrep Rockville |fgrep mp3 * What was the outcome of this action? Gave some output * What outcome did you expect instead? Should have given none because I said to exclude mp3 files. *** End of the template - remove these lines *** -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tar depends on: ii libc6 2.13-24 tar recommends no packages. Versions of packages tar suggests: ii bzip2 1.0.6-1 ii ncompress <none> ii xz-utils 5.1.1alpha+20110809-3 -- no debconf information
--- End Message ---
--- Begin Message ---As noted in a reply, the --exclude option is position sensitive. There is an extended section in the tar info pages talking about the interactions of the various exclude options and variants that's worth reading. Bdale
--- End Message ---

