Re: ntfs problem, no such file or directory.



On Friday May 7 2010 16:54:01 Jerry Feldman wrote:
On 05/07/2010 05:20 AM, Dj YB wrote:
hello,

I have managed somehow to create a file I can't delete now.
probably a failed copy\download long ago.

the output shows like that:

[root@localhost 5]# ll
total 1
-rwxrwxrwx 1 root root 4 2010-05-07 12:07 24 Season 5 Episode 03.avi
[root@localhost 5]# rm 24\ Season\ 5\ Episode\ 03.avi
rm: remove regular file `24 Season 5 Episode 03.avi'? y
rm: cannot remove `24 Season 5 Episode 03.avi': No such file or directory

any advices how to fix this problem are welcome.

it is possible that the file may contain a hidden character or special
character that renders what appears to be a space. . While I have not
encountered this on an NTFS mounted file system, one way might be is to
run emacs as root, and use dired to list, then delete the directory. Or
possibly the Gnome or KDE file manager.

Another possible way in the command line is to key on a pattern:
'rm *Episode*.avi' or possibly 'rm *24*.avi'


[root@localhost 5]# rm *.*
rm: remove regular file `24 Season 5 Episode 03.avi'? y
rm: cannot remove `24 Season 5 Episode 03.avi': No such file or directory

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: ntfs problem, no such file or directory.
    ... I have managed somehow to create a file I can't delete now. ... remove regular file `24 Season 5 Episode 03.avi'? ... it is possible that the file may contain a hidden character or special ... PGP key id: 537C5846 ...
    (Fedora)
  • Re: ntfs problem, no such file or directory.
    ... remove regular file `24 Season 5 Episode 03.avi'? ... Before going any farther, ... unmounting it so you may need to go to single user mode, ...
    (Fedora)
  • ntfs problem, no such file or directory.
    ... I have managed somehow to create a file I can't delete now. ... remove regular file `24 Season 5 Episode 03.avi'? ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)