bug-tar
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Bug-tar] little problem with tar 1.15.1
From
:
MeGaBrAiN
Subject
:
[Bug-tar] little problem with tar 1.15.1
Date
:
Wed, 18 Jul 2007 11:55:16 +0600
Hello..
I've search through bug list archive and didn't find any suitable..
I have fedora (7) box with tar 1.15.1 on board..
command:
tar cvf archive.tar ./ --remove-files
will perfectly create tar file and remove all archived files..
but
tar cvjf archive.tar.bz2 ./ --remove-files
will also remove archive.tar.bz2 couse it look like tar won't recognize *.tar.bz2 as own archive
little dump:
address@hidden Temporary]$ mkdir test1
address@hidden Temporary]$ cd test1
address@hidden test1]$ touch bnbb1
address@hidden test1]$
tar cvf here.tar ./ --remove-files
./
tar: ./here.tar: file
is the archive
; not dumped
./bnbb1
address@hidden test1]$
address@hidden test1]$
address@hidden test1]$ ls -la
total 20
drwxrwxr-x 2 admin admin 4096 2007-07-18 11:38 .
drwxrwxr-x 9 admin admin 4096 2007-07-18 11:37 ..
-rw-rw-r-- 1 admin admin 10240 2007-07-18 11:38
here.tar
same with -j option
address@hidden test1]$ tar cvjf here.tar.bz2 ./ --remove-files
./
./bnbb1
./
here.tar.bz2
<-- oops
address@hidden test1]$
address@hidden test1]$ ls -la
total 8
drwxrwxr-x 2 admin admin 4096 2007-07-18 11:38 .
drwxrwxr-x 9 admin admin 4096 2007-07-18 11:37 ..
This behaviour was quite shocking for me cause i've lost a big bunch of data..
Sincerely,
*nix fan
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Bug-tar] little problem with tar 1.15.1
,
MeGaBrAiN
<=
Re: [Bug-tar] little problem with tar 1.15.1
,
Dustin J. Mitchell
,
2007/07/18
Prev by Date:
Re: [Bug-tar] tar man page
Next by Date:
Re: [Bug-tar] little problem with tar 1.15.1
Previous by thread:
[Bug-tar] Where to download tar executable NOT Source Code?
Next by thread:
Re: [Bug-tar] little problem with tar 1.15.1
Index(es):
Date
Thread