Re: dired-do-shell-command `!'

sandy@ibm550.sissa.it
Wed, 23 Feb 1994 01:19:01 +0100


>>>>> On Tue, 22 Feb 1994 12:40:18 GMT,
      J.Petersen@qmw.ac.uk (J.H.Petersen) said:

 > I hope it's ok to ask about `dired' here?

Yep.

 > Why is it that when I try to `tar xvf' a file in dired (with
 > `!') I get:

 > 	tar: cannot open texfiles.tar.

It means exactly what it says.  The tar file cannot open texfiles.tar.
That error is from the tar program, not dired.  Does the file exist?
Is it in the directory in which you are executing the shell command?
In dired shell commands execute in the subdirectory containing the
point.  It always says in the prompt for the shell command what the
execution directory will be.

 > Also the recursive deleting doesn't seem to work too well for
 > me. When I try to delete a non-empty directory I get:

 > (error Failed to recusively delete /nfs/alpha/mnt_c7d2s4/ugap114/tex/tmp)

 > 1 of 1 deletion failed:
 > 	Tue Feb 22 12:33:31 1994	Buffer `tex'

 > Similarly if a do `! rm -r RET' on the directory tmp/, the
 > deletion fails to work (it used to under the dired that
 > comes FSF 19).

This looks to me like like rm is broken, or does not take the R
switch.  ! does no fancy handling of commands; it just sends them to
the shell.  Can you rm -R from the shell on your system?

--sandy