|
|
Relocated home folder and a non-emptiable trash
I agree with another poster that your disk may well be trashed (slight pun intended), but before you go reinstalling the OS: Have you tried working with the file inode (serial number) instead of the name? That is, in your Trash directory (or in the folder(s) in your Trash), type
to list each file and its inode number. Suppose the file in question has inode 1234567. Then, you ought to be able to execute a find command something like the following (Note: I have not tested this, so use at your own risk):
If that doesn't work, then I would seriously consider erasing the drive and restoring from backup....
Relocated home folder and a non-emptiable trash
Well, I just clicked on the Unix Power Tools link below, and the very next page suggests the following syntax:
Guess I wasn't too far off.... :)
Anyway, one of these ought to work for you. If not, I suspect your drive is on its way out anyway. BTW, you never said how these files got those odd-character names in the first place. Is this a reflection of file corruption, or did you name these files that way yourself? If the latter, you might try changing your shell or to a terminal program that better supports high-ASCII (or Unicode?) characters. Perhaps iTerm would work better? (Just a guess....)
Relocated home folder and a non-emptiable trash
Unfortunately... iTerm did not do the trick. :(
Relocated home folder and a non-emptiable trash
iTerm or not (i.e., plain ol' Apple Terminal), deleting files by their inode should work fine — provided your drive is not in the process of giving up the ghost. I tested it on two machines here successfully. What happened when you tried the
find command listed above?
Relocated home folder and a non-emptiable trash
well, I thought i wrote that but apperently there is no post. Anyway it didn't work out not because of find but because of ls when trying to find out the file node:
As you can se ls with no flags works just fine but when using flags on those directories like -l or -i ls complains just like above. :(
Relocated home folder and a non-emptiable trash
OK, now I wonder if something is up with your version of
ls. Do you have fink installed? Have you mucked around with some Unix tools? Have you been r00ted?
What happens when you type the following:
And what about this one:
(Note: the second command is 'ls -i' immediately proceeded by a single slash '' — the unshifted character just above the Return key on Apple's keyboards (in the U.S., at least).)
Relocated home folder and a non-emptiable trash
Well, again no luck:
:(
Relocated home folder and a non-emptiable trash
excellent hint, but my system has it's own way of saying no. Check this out:
as you can se "ls" refuses to show the list if anya flags are being used. The same thing goes with the -l flag:
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|