Debian bug report logs - #1144
tar --listed-incremental doesn't restore renames
Package: tar; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 100 days old.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Sun Jul 23 04:06:48 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sZyrw-000BE1C; Sun, 23 Jul 95 04:06 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA14171
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 23 Jul 1995 04:05:11 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sZy9x-000BzgC; Sun, 23 Jul 95 11:21 BST
Received: by chiark
id <m0sZot9-0002XSZ@chiark.al.cl.cam.ac.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.32); Sun, 23 Jul 95 01:27 BST
Message-Id: <m0sZot9-0002XSZ@chiark.al.cl.cam.ac.uk>
Date: Sun, 23 Jul 95 01:27 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: tar --listed-incremental doesn't restore renames
Package: tar
Version: 1.11.8-1
I may be doing something wrong here, but reading the documentation
(such as it is) and the tar-1.11.8/scripts/level[01] files (and the
associated WARNING) file seems to suggest that this is what I should
do:
chiark:d> ll
total 6
drwxrwsr-x 2 ian ian 1024 Jul 23 01:20 ./
drwxrwsr-x 21 ian ian 5120 Jul 23 01:21 ../
chiark:d> mkdir directory
chiark:d> echo hi >directory/file
chiark:d> tar --listed=list -vvcf level0tar directory
drwxrwsr-x ian/ian 0 Jul 23 01:21 1995 directory/
-rw-rw-r-- ian/ian 3 Jul 23 01:21 1995 directory/file
chiark:d> tar vvtf level0tar
drwxrwsr-x ian/ian 7 Jul 23 01:21 1995 directory/
-rw-rw-r-- ian/ian 3 Jul 23 01:21 1995 directory/file
chiark:d> cp list list2
chiark:d> mv directory/file directory/spong
chiark:d> tar --listed=list2 -vvcf level1tar directory
drwxrwsr-x ian/ian 0 Jul 23 01:22 1995 directory/
chiark:d> ll directory/
total 3
drwxrwsr-x 2 ian ian 1024 Jul 23 01:22 ./
drwxrwsr-x 3 ian ian 1024 Jul 23 01:22 ../
-rw-rw-r-- 1 ian ian 3 Jul 23 01:21 spong
chiark:d> rm -r directory
chiark:d> tar -Gvvxf level0tar
drwxrwsr-x ian/ian 7 Jul 23 01:21 1995 directory/
-rw-rw-r-- ian/ian 3 Jul 23 01:21 1995 directory/file
chiark:d> tar -Gvvxf level1tar
drwxrwsr-x ian/ian 8 Jul 23 01:22 1995 directory/
tar: Deleting directory/file
chiark:d> ll directory/
total 2
drwxrwsr-x 2 ian ian 1024 Jul 23 01:23 ./
drwxrwsr-x 3 ian ian 1024 Jul 23 01:23 ../
chiark:d>
(BTW, I want to use `tar' rather than `dump' because I don't want a
backup program that grobbles around in the raw disk !)
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1144
; Package tar
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism