On Wednesday 04 August 2004 06:25 pm, Randall R Schulz wrote:
Michael,
On Wednesday 04 August 2004 21:14, Michael Siefritz wrote:
On Wednesday 04 August 2004 21:00, Randall R Schulz wrote:
On Wednesday 04 August 2004 20:49, Jerome Lyles wrote:
# mv pop3proxy-ham-cache /dev/null mv: cannot overwrite non-directory `/dev/null' with directory `pop3proxy-ham-cache'
If you're trying to remove a file, use the "rm" command:
rm pop3proxy-ham-cache
Since pop3proxy-ham-cache is a directory, the flag for recursive deletion has to be set: 'rm -r pop3proxy-ham-cache'.
Right. I should have picked up on that from the "mv" diagnostic Jerome quoted.
I'm still not sure that's what he was trying to do, though, but I suppose it's the best guess given what he wrote.
...
HTH Michael
Randall Schulz
I was trying to remove the directory. Working from memory I thought mv was the way to go. I had forgotten remove and I was too lazy (or too sure I was right) to check the list of commands in my copy of A Practical Guide to Linux. Thanks, Jerome