Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Removing a file on external hd
wonder if anyone could help me out a bit
I was browsing my ext hd with nautilus
and saw i file i wanted to delete
it was part of an old process that horked when the durn kernel
crashed last night
I selected it
chose move to trash , and nautilus tole me i couldnt
checked permissions and it said it was owned by root
not deterred I opened a terminal
cd'd to the folder that housed the misbegotten file
( ok its a directory.... let me get my terminology correct)
rm -r -i <directoryname>
out put was
[HOST 4.7]# rm -r -i Directoryname
rm: descend into directory `Directoryname/'? y
rm: descend into directory `Directoryname/subDirectoryname'? y
rm: descend into directory `Directoryname/subDirectoryname/VIDEO_TS'? y
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.BUP'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.BUP': Input/output error
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.IFO'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.IFO': Input/output error
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.VOB'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_0.VOB': Input/output error
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_1.VOB'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_01_1.VOB': Input/output error
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_02_0.VOB'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_02_0.VOB': Input/output error
rm: remove regular file `Directoryname/subDirectoryname/VIDEO_TS/VTS_02_1.VOB'? y
rm: cannot remove `Directoryname/subDirectoryname/VIDEO_TS/VTS_02_1.VOB': Input/output error
confirms the files are in fact there
I sure i missed some simple step
root have been able to wax any of it
can any one point me in the right direction
I read at oreillys that the rmdir command was only for empty folders
and the rm -r was for full ones
I used the -i , cuz i recently tried to wax a symbolic link and took out half my home folder