Cannot delete a file!

I wanted to download a pdf file, did it, downloaded in a zip file, uncompressed the files, and I couldn’t open them. I wanted to delete them, and it doesn’t let me!
It says the files don’t exist any longer. And I still have those garbage files on my folder, on my hard disk!!

Tried from Dolphin, from console, restarting, no dice! Then I realized that the source zip file was corrupted from the beginning.

I’m desperate, what can I do?

Are the files in a folder you can delete?
Are they on a local partition ie; your /home

what are the names of the files

From the corrupted zip, which I was able to delete, I extracted a folder with files inside it.

Some of them I could delete, but the rest I can’t. And I can’t delete the entire folder neither. And yes, it’s on my /home directory, but I don’t have /home as a separate partition.
The files are a pdf book and a html file

Is there anything else in the folder you need?
Tell me the path to the folder
eg: /home/fstyle/problemfolder

/home/(username)/Downloads/TROUBLESOME FOLDER
I don’t need this folder, I want to delete it. This is the corrupted folder and the files within it.

OK
Your info is a little confusing.

Here goes. Go to your Downloads folder. You should be able to see the folder you want to remove.
Right click and open terminal here

Now type: su
enter your password
Now type: rmdir <foldername>
(Replace <foldername> with the name of the folder. I couldn’t decide if it was actually called TROUBLESOME FOLDER or not.

OK, seemingly I got desperate yesterday and ended up reinstalling whole system, this time with GNOME, of which I’ve created another thread where I still need help.

But thank you for your help again. It was my entire fault and I made a mess. Could you check the other thread if you get a chance?
Thank you again.

On 2012-02-29 16:26, F style wrote:
>
> OK, seemingly I got desperate yesterday and ended up reinstalling whole
> system, this time with GNOME, of which I’ve created another ‘thread’
> (http://tinyurl.com/7vt84zy) where I still need help.

Wow, reinstall just because a file can not be deleted. Sometimes this
happens because the filesystem was corrupted.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The suggestion by caf4926’s caf4926 should have worked, if the folder wasn’t empty, you might have to also set the recursive flag.

Personally, the only orphaned file journalling I’ve experienced was in the trash bin, and then the problem was so small I considered it easy to overlook.

TS

The suggestion by caf4926’s caf4926 should have worked, if the folder wasn’t empty, you might have to also set the recursive flag.

Personally, the only orphaned file journalling I’ve experienced was in the trash bin, and then the problem was so small I considered it easy to overlook.

TS

Yikes
That’s a bit extreme !

Not if it was the file system which got corrupted, as Robin_Listas suggested in the other GNOME thread…

On 02/29/2012 08:56 PM, F style wrote:
>
> Not if it was the file system which got corrupted, as Robin_Listas
> suggested in the other GNOME thread…

Corrupted file systems are generally repairable with minor effort. fsck
is a utility for checking and repairing them for instance. That’s just
one example - the appropriate tool depends on which file system is in use.


Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

What would be the right tool for Ext4 or Btrfs, for example?

On 02/29/2012 11:16 PM, F style wrote:
>
> What would be the right tool for Ext4 or Btrfs, for example?

fsck should work for ext4. Never played w/btrfs so don’t know. It’s
still being developed, so nothing I’d run on a production system.


Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net

On 2012-03-01 06:56, F style wrote:
>
> Not if it was the file system which got corrupted, as Robin_Listas
> suggested in the other GNOME thread…

An fsck would suffice - unless he was using btfrs.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Thu, 01 Mar 2012 08:16:03 +0000, F style wrote:

> What would be the right tool for Ext4 or Btrfs, for example?

There is no fsck for btrfs that fixes the filesystem at present.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi All,

I have the same problem - can’t delete items in trash. I have just hooked up an external 1Tb HDD and wanted to copy over a folder called “Art”. I did that and some of the files did not transfer, I assume because of permissions. Whatever the case I now have 3 instances of "Art in my trash that I can not delete.

Could someone give me the full terminal commands that I can use? I am using KDE 4.8.1 and openSuSE 12.1. Thanks in advance for any responses.

Try the cut and paste
Cut from trash, paste to a new folder
and change permission and delete again.

conram,

I did delete the files in the end. I guess I’m still trying to expect KDE to act like GNOME, and openSuSE to act like Ubuntu. LOL! Stiil lots to learn here, but enjoy the KDE versus GNOME experience.

Thanks for your help, as always.