bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] --remove-files deletes files even if archive couldn't be c


From: Linda A. Walsh
Subject: Re: [Bug-tar] --remove-files deletes files even if archive couldn't be created, when used with compression
Date: Sun, 04 Oct 2009 11:33:39 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Lightning/0.9 Thunderbird/2.0.0.22 ThunderBrowse/3.2.6.5 Mnenhy/0.7.6.666

Sergey Poznyakoff wrote:
Bart Botta <address@hidden> ha escrit:

$ ../src/tar cfv a --remove-files b
../src/tar: a: Cannot open: Is a directory

Argument to the -f option cannot be a directory. See...
----
        That doesn't address the problem.

        I feel that tar should be more robust in handling 'source' files
that are going into an archive, and should NOT delete the source if can't
open (and move them) into the target archive.

        Similarly, I wouldn't expect 'mv' to delete a file from a source
dir unless it could successfully move it to a target directory. No?



reply via email to

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