Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The entries with the ?'s I can't delete. I was copying them from an external hard drive when my daughter turned off the hard drive, so the copy never completed. Now I can't get rid of the partial files, I've tried rm -rf and shred -u and every other damn thing I can think of. I've tried as sudo and as a regular user.
I'm using kubuntu 7.10 if it matters. Thanks much...
At the moment, the file don't have a owner/group or anything. Maybe you can change this with the command sequence I indicated. However, the fact that they don't have a file size isn't very reassuring...
Since you're on Kubuntu (at least if your profile's still valid ), this might be a good choice. Don't know if it solves this specific problem, though - but it's worth a try anyway.
Another idea: I wonder if one could just generate empty files (using touch) with the same name (in another directory) and then just try to copy them over the damaged ones. It's not very likely to work, either, but why not try anyway? If it works, you'll be able to remove the 0 byte files.
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Original Poster
Rep:
Hi, thanks for the thoughts. I've tried kleansweep, and creating other files with the same name and moving them. Tried renaming them, moving them. Nothing worked. Also, the drive the files were being copied FROM was shut off, the problem is removing the "leftover" files (for lack of a better term) on the drive that WASN'T shut off. So I don't think it's a filesystem problem, but I'll try that too, as it shouldn't hurt anything. I also couldn't re-copy the same files over to the same dir, but if I first changed the name of the file, THEN it copies just fine, so I think both filesystems are fine, but I'll run some repair and diagnostics on both drives, just in case. Thanks much, any new ideas are appreciated.
David
P.S. While checking out file system repair utilities, it occurred to me that I've left out some crucial info. The files in question are on a ntfs partition I share with windows on a dual boot box. The rest of windows isn't on that partition, it's just for media and backups. I haven't booted to windows in months, so maybe I can fix it on the dark side....unless anyone here has any other ideas.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.