New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - What to use for a FIND command?


Post Reply New Thread Subscribe

 
Thread Tools
bdmsb

 
Member Since: Mar 23, 2008
Posts: 10
bdmsb is on a distinguished road

bdmsb is offline
Spotlight doesn't find certain things. For example, I want to locate and delete all files on my hard disk that end with ".vcf". But Spotlight won't find them. Is there some 3rd party utility that works like the old FIND command and will find any file?
QUOTE Thanks
D3v1L80Y

 
D3v1L80Y's Avatar
 
Member Since: Feb 02, 2004
Location: PA
Posts: 12,459
D3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond repute
Mac Specs: MacBook

D3v1L80Y is offline
Command + F

__________________________________________________
Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

mac: a waterproof raincoat made of rubberized fabric
MAC: a data communication protocol sub-layer, also known as the Media Access Control
Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

QUOTE Thanks
webia

 
Member Since: Jun 16, 2007
Posts: 31
webia is an unknown at this point

webia is offline
or if you're into the terminal business, type

find . -type f *.vcf
QUOTE Thanks
bdmsb

 
Member Since: Mar 23, 2008
Posts: 10
bdmsb is on a distinguished road

bdmsb is offline
Command + F is no good. It doesn't find files that end with ".vcf" either. It was my understanding that Command-F just used the same Spotlight engine.

I can see files that end with ".vcf" in my email folder. For example, I can see a file with the name "njepsen.vcf". But if I COPY and PASTE that file name into Command-F and search for files whose "Name" "Is" "njepsen.vcf" on "Computer", it finds no hits.
QUOTE Thanks
bdmsb

 
Member Since: Mar 23, 2008
Posts: 10
bdmsb is on a distinguished road

bdmsb is offline
I'm no expert with Terminal, but I typed "find . -type f *.vcf" into it and got the reply "find: *.vcf: unknown expression primary".

Anyway, I'm really not so keen on using Unix commands to find files. I just want an OS X "FIND" command that finds what I ask for. What's the logic behind excluding some results?
QUOTE Thanks
cwa107

 
cwa107's Avatar
 
Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 26,500
cwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond repute
Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD

cwa107 is offline
Try EasyFind. It's a GUI-driven search utility that can find ANYTHING, even if it's a hidden (. file) or system directory.

I also remember reading a Macworld article that showed how to modify Spotlight to search for hidden and system files, but I'll be dipped if I can find that at the moment.

Even still EasyFind is a much better utility if you need to dredge an entire disk, file by file.

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
QUOTE Thanks
AlyciaAnimation

 
Member Since: Mar 04, 2008
Posts: 477
AlyciaAnimation has a spectacular aura about

AlyciaAnimation is offline
I was having the same problem. It seems to only be with Leopard cause I tested it on my Tiger machine and it finds all the files.

I gave up on spotlight for now and downloaded EasyFind and it works great.

Maybe I'll search on Macworld to see if I can find the article you were talking about cwa107. If you find it, please post it I'd rather use spotlight than have to open a new application.
QUOTE Thanks
dtravis7

 
dtravis7's Avatar
 
Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 27,492
dtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond repute
Mac Specs: iMac 2.4 C2D 10.9.4, iMac 2.16 C2d 10.6.8, Macbook2007 10.8.4, Mac Mini 10.8.4, iPhone 3GS Note 8!!

dtravis7 is offline
I have had no issues finding anything using the Command+F find. I tried even in the email and other folders and it found everything I tried.
QUOTE Thanks
root

 
Member Since: Mar 22, 2008
Location: Waterloo, Ontario, Canada
Posts: 3
root is on a distinguished road
Mac Specs: Mac Pro, 2.8 Ghz, 8 core, 2 GB RAM, 2TB HDs

root is offline
Quote:
Originally Posted by bdmsb View Post
Spotlight doesn't find certain things. For example, I want to locate and delete all files on my hard disk that end with ".vcf". But Spotlight won't find them. Is there some 3rd party utility that works like the old FIND command and will find any file?
find / -name "*.vcf"

from the terminal will find all files that end in .vcf extension (starting at root of the filesystem). Look at the man page for find, you can construct more complex expressions and customize your search criteria further or execute a command on all files found etc.

If you also want to delete the files execute the following:

find / -name "*.vcf" -exec rm "{}" ";"

But be careful about this command since it will delete the files (not move them to trash) so they can't be recovered.
QUOTE Thanks
AlyciaAnimation

 
Member Since: Mar 04, 2008
Posts: 477
AlyciaAnimation has a spectacular aura about

AlyciaAnimation is offline
I'm so happy, I finally found a solution to my problem. Here's that article on MacWorld on how to search all system files!

http://www.macworld.com/article/6071...syssearch.html

I hope it helps other people too
QUOTE Thanks
cwa107

 
cwa107's Avatar
 
Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 26,500
cwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond repute
Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD

cwa107 is offline
Quote:
Originally Posted by AlyciaAnimation View Post
I'm so happy, I finally found a solution to my problem. Here's that article on MacWorld on how to search all system files!

http://www.macworld.com/article/6071...syssearch.html

I hope it helps other people too
Nice find, that's the one I was talking about. Not sure what keywords you used, but I couldn't find it in 10 minutes or so of searching.

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
QUOTE Thanks
bdmsb

 
Member Since: Mar 23, 2008
Posts: 10
bdmsb is on a distinguished road

bdmsb is offline
I followed the directions in the Macworld article, but I don't get the option of choosing "System Files".

I'll try EasyFind.
QUOTE Thanks
dtravis7

 
dtravis7's Avatar
 
Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 27,492
dtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond repute
Mac Specs: iMac 2.4 C2D 10.9.4, iMac 2.16 C2d 10.6.8, Macbook2007 10.8.4, Mac Mini 10.8.4, iPhone 3GS Note 8!!

dtravis7 is offline
Quote:
Originally Posted by cwa107 View Post
Nice find, that's the one I was talking about. Not sure what keywords you used, but I couldn't find it in 10 minutes or so of searching.
Yeah that is what I had been using also. Been a while as I rarely search for System files. Works well though.
QUOTE Thanks
AlyciaAnimation

 
Member Since: Mar 04, 2008
Posts: 477
AlyciaAnimation has a spectacular aura about

AlyciaAnimation is offline
@bdmsb

In the find window where there is the drop down that says "kind" by default click on that and select "other.." and a butt load of other options will pop up. Find "system files" in the list. You can check the check mark so it shows up in the drop down menu without having to go to "other.." in the future.
QUOTE Thanks
bdmsb

 
Member Since: Mar 23, 2008
Posts: 10
bdmsb is on a distinguished road

bdmsb is offline
Did that. The first item in the list is "Album" and the last item is "Year recored" but there is no "System files".
QUOTE Thanks

Post Reply New Thread Subscribe


« login as root | a few Mail questions »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Spotlight and Find (command F) don't work? TerpGod OS X - Operating System 1 12-11-2007 06:21 PM
Re-load firewire bus/Re-detect isight camera via command line ephantom OS X - Development and Darwin 0 10-19-2007 07:28 PM
Finder Can't Find Anything dmpr OS X - Operating System 6 10-15-2007 09:44 AM
New App Can't Find libresolv.9.dylib nathano OS X - Operating System 0 08-05-2006 12:22 PM
How to install GCC version 4.xx???? Philipina OS X - Development and Darwin 1 04-14-2006 10:25 AM

All times are GMT -4. The time now is 05:28 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?