Can't remove file in terminal!!! [unix]
well here's pretty much my problem:
[localhost:~/desktop/music] user% ls
name B??????r.mp3
[localhost:~/desktop/music] user% rm name B??????r.mp3
Too many ('s.
[localhost:~/desktop/music] user% cd desktop
~/desktop
[localhost:~/desktop] user% rm -R music
rm: music/name B??r.mp3: No such file or directory
rm: music: Directory not empty
???
Nothing in this folder will show in finder...btw
[localhost:~/desktop/music] user% ls
name B??????r.mp3
[localhost:~/desktop/music] user% rm name B??????r.mp3
Too many ('s.
[localhost:~/desktop/music] user% cd desktop
~/desktop
[localhost:~/desktop] user% rm -R music
rm: music/name B??r.mp3: No such file or directory
rm: music: Directory not empty
???
Nothing in this folder will show in finder...btw
Comments
From ~/desktop/
> rm -rf music
cheers,
- j
btw: aqustion was the program that made the bad file/folder...
???
ls -al
and tell us the output.
edit: And also try deleting the folder through the GUI (trash it)
[ 02-10-2002: Message edited by: stimuli ]</p>
"The operation cannot be completed because one or more requiered items cannot be found.
(Error code -35)."
I shortened the name in my last post, but this is the real deal, I just cahnged my username to user:
ls -al:
[localhost:~/desktop/music] user% ls -al
ls: Ayo Feat. Ken, Petter, Big Fred - Hip-Hop (Dissar Looptroop] B??r.mp3: No such file or directory
total 0
drwx------ 3 user staff 58 Jan 29 09:02 .
drwx------ 14 user staff 432 Feb 10 23:57 ..
[localhost:~/desktop/music] user%