Sergey Poznyakoff wrote:
Bart Botta <[email protected]> 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