Hi,
I got an external enclosure to use an old hard drive as a usb external hard drive for backing up files to.
I tried deleting all the files but there are quite a lot that cannot be deleted
Nautilus saying “permission denied”.
The harddrive had/has ubuntu 10.4 on it.
Do i need to delete all the files & folders from terminal?
I’m running OpenSuse 11.3 in gnome.
So i’ve got Gnome Terminal.
change to the directory on your USB drive from where you want to delelete all the files. The text in red is just an example. It will be different on your system
cd /mnt/usbdrive
make absolutely sure you are on the directory where you want to delete all the files pwd
It should output: /mnt/usbdrive
double and triple check
also be sure that you really want to delete those files …
finally, issue the following command:
**rm -r ***
one last warning: this command is highly dangerous. So be sure you know what you are doing and that the directory from where you are running this command is the one you want to delete all the files from!
notice that it won’t delete hidden files. In order to delete hidden files, you should use : rm -r .* This is even more dangerous.
I’m finding it hard to get to the directory i need.
heres the terminal result after mount:
/dev/sdc1 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
securityfs on /sys/kernel/security type securityfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/philip/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=philip)
/dev/sdd1 on /media/68e52d2e-b4ab-4b38-91ae-bec7ff05014a type ext4 (rw,nosuid,nodev,uhelper=udisks)
The 68e52---- etc is what the hard drive is called when opened
but whatever i type in to try and change directory, terminal is saying there is no such file:
any ideas as to the exact text i want?
sorry to be really useless.
dont worry i wont wipe anything unless i am totally sure.
and your help is very much appreciated.