You are not logged in.

1

Monday, June 16th 2003, 5:46pm

How to delete the files ?

How to delete the files under root > cdrom? I tried to use: mv /cdrom/velicity.i trash, but it doesn't work.

I just started to learn Suse and KDE. Could you please tell me how to delete the files in KDE directory?

Thanks.

Rae

kde-forum

Unregistered

2

Monday, June 16th 2003, 6:01pm

cdrom

in your directory

/cdrom

you can find the cd that is actually mounted. you cannot remove any files on a burned cd!


(ok just use mount rainer but thats another story)

3

Monday, June 16th 2003, 7:41pm

Re: How to delete the files ?

Quoted

Original von raeshao

How to delete the files under root > cdrom? I tried to use: mv /cdrom/velicity.i trash, but it doesn't work.

I just started to learn Suse and KDE. Could you please tell me how to delete the files in KDE directory?

Thanks.

Rae


Hi, if you are trying to delete something that is in the /media/cdrom directory and it is not a mounted cdrom but the actual directory all you have to do is
# rm -rf /media/cdrom/filename

P.S> REMEMBER THAT BY USING "-rf" after the "rm" you are deleting it recusively. Not a good idea if you are in the wrong directory!
The Best Games are for Download @ GCCLINUX

4

Monday, June 16th 2003, 8:39pm

Yes, you are right. I have copied some file into my root> cdrom and they are not in mounted cdrom. As some files are existing in cdrom directory, when I was trying to the files in mounted cdrom, I got confused which is the real files in mounted cdrom.

In this case, can I use rm -rf/root/cdrom/filename to delete files?

Thanks for your response.

5

Monday, June 16th 2003, 8:44pm

Yes you can but there is a space in between rm -rf and /root/cdrom/filename

Good luck, and make sure never to use rm -rf unless you are 100% sure about the full qualifying path.

:D
The Best Games are for Download @ GCCLINUX