[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tar-bug
Subject:    [Bug-tar] --exclude-caches does not work with --listed-incremental
From:       iso () wemba ! edu ! pl
Date:       2007-09-05 16:19:24
Message-ID: 87fy1t84qb.fsf () localhost
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic