Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Nov 2019 17:00:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241836] bsdtar: -u archive does not work as documented
Message-ID:  <bug-241836-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241836

            Bug ID: 241836
           Summary: bsdtar: -u archive does not work as documented
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@oldach.net

bsdtar's -u option should append new entries only if they have a modificati=
on
date newer than the corresponding already existing entry. However that does=
 not
seem to work:

# ls -la boot/loader.conf
-rw-r--r--  1 root  wheel  79 Oct  7 20:48 boot/loader.conf
# tar cvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar uvf test.tar boot/loader.conf
a boot/loader.conf
# tar tvf test.tar boot/loader.conf
-rw-r--r--  0 root   wheel      79 Oct  7 20:48 boot/loader.conf
-rw-r--r--  0 root   wheel      79 Oct  7 20:48 boot/loader.conf
-rw-r--r--  0 root   wheel      79 Oct  7 20:48 boot/loader.conf
-rw-r--r--  0 root   wheel      79 Oct  7 20:48 boot/loader.conf
#

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241836-227>