| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Nov 24, 2008
Posts: 2
![]() |
Hi,
On my MacBook homedir I have a file called "?.?Trash", without the quotation marks, but with the question marks. It appears only when I ls in a terminal, but it does not appear in the Finder. ls -l gives: drwx------@ 2 avishporer staff 68 Nov 24 15:05 ?.?Trash Any idea how to delete it ? simply rm "?.?Trash" gives rm ?.?Trash: No such file or directory This probably has something to do with the fact that I'm unable to empty by Trash in the regular way. Only sudo rm works. Any help will be appreciated, Avi |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
if you do a ls -li
it will show you the inode # for that directory, then you can delete it by that as such... mikeMbp:~ mike$ mkdir foobar mikeMbp:~ mike$ ls -li <snip> 18834406 drwxr-xr-x 2 mike staff 68 Nov 24 10:14 foobar mikeMbp:~ mike$ find . -inum 18834406 -exec rm -irf {} \; disclaimer: Please, if you don't understand these commands ask about them, read the man page, google them etc before using them. You should ALWAYS execute a find without the -exec switch if you're at all in question of what it will return (find . -inum 18834406 will return the correct directory name etc) mike This machine kills fascists Got # ? phear the command line! Last edited by Dysfunction; 11-24-2008 at 12:35 PM. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Deleting hidden file from hard drive | nvijaya | OS X - Operating System | 4 | 07-16-2007 07:08 AM |
| Deleting locked .htm file | hagios1972 | OS X - Operating System | 7 | 06-12-2007 02:23 PM |
| Windows 2003 File Server & Quark | kegwell | OS X - Operating System | 0 | 01-15-2007 02:35 PM |
| Unix Executable File problem | fender1100 | OS X - Apps and Games | 9 | 01-07-2007 06:20 AM |
| Show Item Info | inflexion | OS X - Operating System | 15 | 10-24-2005 10:34 PM |
All times are GMT -4. The time now is 07:19 PM.
Powered by vBulletin