Unable to remove directory

JosephK joseph at oxtedonline.net
Sat Apr 12 17:43:32 UTC 2008


On 18:57 Sat 12 Apr     , Markus Schönhaber wrote:
> JosephK wrote:
> 
> > I have been moving my mp3s to a new drive and am stuck with a directory
> > that I can't delete. If I use rm it tells me the file is a directory but
> > if I use rmdir or rm -f -r I get the message that the file or directory
> > does not exist. Below is a partial list of an ls
> > 
> > jmasters at spookie1:~$ ls -al /mnt/music/mp3s/B*
> > /mnt/music/mp3s/Bj_rk:
> > total 0
> [...]
> > As you can see it is the Bj_rk entry that is the problem. Seems to have
> > been renamed from Bjork, probably by EasyTag
> > 
> > Any ideas how I can get rid of this?
> 
> Did you try
> rmdir /mnt/music/mp3s/Bj*
> ?

Tried that and other combinations too. mc which is my file manager of
choice would not delete it so I tried the Gnome default graphical file
manager. The folder shows up but as soon as you click on it, right or
left button, it disappears and then reappears when you refresh the
window.

Cannot even delete the containing directory. This is on a smb shared
folder on an xfs server. All files are backed up so I think I'll just
delete the share and reinstall it.

-- 
Regards, Joe




More information about the ubuntu-users mailing list