Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old May 30, 2013, 06:37 PM   #1
NotVeryClever
macrumors newbie
 
Join Date: May 2013
How to delete Finder file with no path?

I have some files that can be found by name and by content using Finder's command-F that I believe used to be associated with the adblockplus Firefox extension (AKA formerly system files in the Library folder).

These files do not have a file path, and I cannot open the enclosing folder etc. I don't actually care about using these files, I just want to delete them. However I cannot drag them to trash, nor can I delete them using command-delete. I cannot drag them into Terminal to find the file path or delete from within Terminal.

Does anyone have a suggestion for deleting these files?

OS X 10.8.1; screenshot is included.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-05-30 at 7.25.31 PM.png
Views:	39
Size:	353.5 KB
ID:	414527  
NotVeryClever is offline   0 Reply With Quote
Old May 30, 2013, 06:47 PM   #2
GGJstudios
macrumors Westmere
 
Join Date: May 2008
.ini files are Windows files, and have no effect on OS X. Try restarting your computer, then check to see if the files remain. It may be that they have already been deleted.
GGJstudios is offline   0 Reply With Quote
Old May 30, 2013, 06:54 PM   #3
NotVeryClever
Thread Starter
macrumors newbie
 
Join Date: May 2013
Quote:
Originally Posted by GGJstudios View Post
.ini files are Windows files, and have no effect on OS X. Try restarting your computer, then check to see if the files remain. It may be that they have already been deleted.
The file remains on restart. Perhaps it will go away with time, but it is not very satisfying that I cannot delete it. It is also confusing to me that the file and its content still remain and are searchable but it does not have a path...
NotVeryClever is offline   0 Reply With Quote
Old May 30, 2013, 06:57 PM   #4
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by NotVeryClever View Post
The file remains on restart. Perhaps it will go away with time, but it is not very satisfying that I cannot delete it. It is also confusing to me that the file and its content still remain and are searchable but it does not have a path...
What shows up in the Finder Status Bar or Path Bar if you click on one of those files?
GGJstudios is offline   0 Reply With Quote
Old May 30, 2013, 06:59 PM   #5
simsaladimbamba
macrumors Core
 
simsaladimbamba's Avatar
 
Join Date: Nov 2010
Location: located
I have had a similar problem and PathFinder helped me solve it. Here is the thread with the solution. Hopefully it helps.

And man, using a Windows based PC is horrible now. If it would be at least Windws 5.0 or 5.1, but no, it is 6.0.
__________________
FREEdomly passports. Circumwent bürocrazy.
simsaladimbamba is offline   0 Reply With Quote
Old May 30, 2013, 07:05 PM   #6
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Another possibility is you may need to reindex your drive:
Spotlight: How to re-index folders or volumes
If that fails to index, enter the following command in Terminal:
sudo mdutil -i on "/Volumes/your drive name"
GGJstudios is offline   0 Reply With Quote
Old May 30, 2013, 07:06 PM   #7
NotVeryClever
Thread Starter
macrumors newbie
 
Join Date: May 2013
Quote:
Originally Posted by GGJstudios View Post
What shows up in the Finder Status Bar or Path Bar if you click on one of those files?
I don't think it is letting me show the Path Bar? I am not sure I am doing what you suggested, but I have a screenshot.

Ah! but there is learning - if I open the file I get an error -- The alias "patterns.ini" can't be opened because the original item can't be found.

Delete alias just brings the same window up again. If I select "Fix Alias", set it to a random text file, I get another error. "The operation can't be completed." Error code -43

[edit -- added image]
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-05-30 at 8.02.43 PM.png
Views:	9
Size:	570.3 KB
ID:	414536  
NotVeryClever is offline   0 Reply With Quote
Old May 30, 2013, 07:08 PM   #8
NotVeryClever
Thread Starter
macrumors newbie
 
Join Date: May 2013
Sorry, you guys are fast! I will try the above two tricks and update!
NotVeryClever is offline   0 Reply With Quote
Old May 30, 2013, 07:10 PM   #9
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by NotVeryClever View Post
I don't think it is letting me show the Path Bar? I am not sure I am doing what you suggested, but I have a screenshot.

Ah! but there is learning - if I open the file I get an error -- The alias "patterns.ini" can't be opened because the original item can't be found.
Yep, it looks like the item has been deleted. Try reindexing your drive, using the instructions in my last post.
GGJstudios is offline   0 Reply With Quote
Old May 30, 2013, 07:10 PM   #10
w0lf
macrumors 6502a
 
w0lf's Avatar
 
Join Date: Feb 2013
Location: USA
If you drag the file into terminal from finder does it give you a path?
w0lf is offline   0 Reply With Quote
Old May 30, 2013, 07:44 PM   #11
NotVeryClever
Thread Starter
macrumors newbie
 
Join Date: May 2013
Quote:
Originally Posted by w0lf View Post
If you drag the file into terminal from finder does it give you a path?
Finder will not let me drag the files! I can click on them and highlight them to get info, etc, but cannot drag them.

Still haven't tried other suggestions, looks hopeful though! And thanks to all for the help as well -- Will update but seems wise for me to finish my work and save everything first, will be a couple hours.
NotVeryClever is offline   0 Reply With Quote
Old May 30, 2013, 10:51 PM   #12
NotVeryClever
Thread Starter
macrumors newbie
 
Join Date: May 2013
Reindexing the drive did the trick! The files are no longer turning up by name or content. Also an incredibly quick and easy solution. Thanks to GGJstudios! Followed protocol as described https://support.apple.com/kb/ht2409 -- dragged in whole volume.

Neat stuff!
NotVeryClever is offline   0 Reply With Quote
Old May 31, 2013, 06:58 AM   #13
chrfr
macrumors 68020
 
Join Date: Jul 2009
Quote:
Originally Posted by GGJstudios View Post
.ini files are Windows files, and have no effect on OS X.
This is not true. There are several apps for Mac which write data into .ini files. (Yes, developers probably shouldn't be doing this, but they do.)
chrfr is offline   1 Reply With Quote
Old May 31, 2013, 07:14 AM   #14
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by chrfr View Post
This is not true. There are several apps for Mac which write data into .ini files. (Yes, developers probably shouldn't be doing this, but they do.)
A 3rd party app writing data into an .ini file is quite different from such a file affecting OS X.
GGJstudios is offline   0 Reply With Quote
Old May 31, 2013, 08:27 AM   #15
chrfr
macrumors 68020
 
Join Date: Jul 2009
Quote:
Originally Posted by GGJstudios View Post
A 3rd party app writing data into an .ini file is quite different from such a file affecting OS X.
Nonetheless, your advice made it sound as if deleting them will have no effect.
chrfr is offline   1 Reply With Quote
Old May 31, 2013, 11:05 AM   #16
GGJstudios
macrumors Westmere
 
Join Date: May 2008
Quote:
Originally Posted by chrfr View Post
Nonetheless, your advice made it sound as if deleting them will have no effect.
Actually, I was implying that leaving them will have no effect, but either is true. Whether they're deleted or not will have zero effect on OS X.
GGJstudios is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Regarding Path Finder 5.2.2 ifrit05 Mac Applications and Mac App Store 2 Dec 27, 2013 05:12 PM
Finder file path dropped in terminal - won't work with some locations dylan873 Mac Basics and Help 1 Nov 26, 2013 08:11 AM
finder path bar to the top iWeekend Mac Basics and Help 4 Jan 17, 2013 01:44 PM
did finder just delete my file??? stevemiller Mac OS X 10.7 Lion 0 Jul 18, 2012 04:20 PM
Drag and drop from webview to finder (Dropped path) Nishadkumar Mac Programming 0 Jun 30, 2012 01:48 AM

Forum Jump

All times are GMT -5. The time now is 10:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC