bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] --exclude-caches does not work with --listed-incremental


From: iso
Subject: [Bug-tar] --exclude-caches does not work with --listed-incremental
Date: Wed, 05 Sep 2007 18:19:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

tar ignores the --exclude-caches option when --listed-incremental is used:

$ tar --version
tar (GNU tar) 1.16
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

$ tar -cv --exclude-caches -f /tmp/xx.tar /tmp/xx
tar: Removing leading `/' from member names
/tmp/xx/
/tmp/xx/cache/
tar: /tmp/xx/cache/: contains a cache directory tag; not dumped
/tmp/xx/work/
/tmp/xx/work/fff

$ tar -cv --exclude-caches --listed-incremental=/tmp/snapshot -f /tmp/xx.tar 
/tmp/xx
tar: /tmp/xx/cache: Directory is new
tar: /tmp/xx/work: Directory is new
tar: Removing leading `/' from member names
/tmp/xx/
/tmp/xx/cache/
/tmp/xx/work/
/tmp/xx/cache/CACHEDIR.TAG
/tmp/xx/cache/dddd
/tmp/xx/work/fff


The system is GNU/Linux, Ubuntu 7.04, x86




reply via email to

[Prev in Thread] Current Thread [Next in Thread]