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.5 - Spotlight searching for statistical package syntax files


Post Reply New Thread Subscribe

 
Thread Tools
stellman

 
Member Since: Apr 12, 2008
Posts: 35
stellman is on a distinguished road
Mac Specs: Mac Pro

stellman is offline
I use SPSS (see www.spss.com) extensively for statistical work. Syntax files end in .sps and output files end in .spo. I have thousands of these files on my Mac (they used to be on my PC). I often need to search for a .sps file with a certain word in it such as regression.

If I type .sps [note the period] into Spotlight, I get a list of 2,514 files that either have the string .sps in the file name or in the body of the file. If I type just the word regression into Spotlight, I get a list of 6,720 files, but only six of them are .sps files and they are all listed as kind:document. Even this seemingly big list does not include dozens of files that I KNOW are syntax files and have the word regression in them.

If I type both .sps and regression into Spotlight, I get a list of 166 items. A few of them are OK, but many programs that I KNOW are syntax files (name ending in .sps) and that contain the word regression are not found in the search.

What's wrong?
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,637
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Have you tried
kind:sps AND regression

mrplow

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
stellman

 
Member Since: Apr 12, 2008
Posts: 35
stellman is on a distinguished road
Mac Specs: Mac Pro

stellman is offline
I entered a search on kind:sps AND regression. Guess what happened? The system immediately activated Parallels (which is where SPSS runs from, since it's a PC based program) but produced no search results at all.

Is that weird or what?
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
Quote:
Originally Posted by stellman View Post
(which is where SPSS runs from, since it's a PC based program)
Well, it would certainly help if you got the Mac version of SPSS
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,637
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Spot light would only 'immediately activate' an app if you press ENTER. Just searching won't launch anything.

That aside...... where are the SPS files held? Windows parallel image? Mac partition? You need to make sure they're all on your mac partition.

Also... what happens if you use Find from the Finder menu?

mrplow

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
Spotlight can only search "inside" file types that it has a plugin for.
Out of the box that includes most "common" file types (e.g. PDF, .doc, .ppt, .txt etc.).

But for other file types you'll need a Spotlight plugin:
http://www.apple.com/downloads/macosx/spotlight/
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,637
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Aptmunich - "Spotlight can only search "inside" file types that it has a plugin for."

Then apologies all round. I knew this of Spotlight in Tiger but I thought Leopard had gone beyond that limitation by specifying the 'kind'. Sorry for mis-leading you stellman.

Does this limit apply to 'find' aswell?

mrplow

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
Quote:
Originally Posted by mrplow View Post
Aptmunich - "Spotlight can only search "inside" file types that it has a plugin for."

Then apologies all round. I knew this of Spotlight in Tiger but I thought Leopard had gone beyond that limitation by specifying the 'kind'. Sorry for mis-leading you stellman.

Does this limit apply to 'find' aswell?

mrplow
Afaik that is also the case.

The "traditional" find command would only used to be able to find files by file name. Spotlight has the ability to search through file contents, but in order to do so, it still has to be able to "open" the file and read through it.

Just like you won't be able to open .docx files without Word 2008, Spotlight can't read .spss files without a plugin.

The 'kind' operator lets you narrow down your search for files of a certain type, but without a plugin, Spotlight will only search for files of that type by their file name, metadata (e.g. 'get info' comments) and other OS-level file attributes.

In Leopard the "find" command basically is the same as using Spotlight.
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,637
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
I can see see why spotlight doesn't routinely index 'unknown' file types but it's a shame there isn't a way to force it to search in particular files . . . a 3rd party solution perhaps?

stellman - if you're running you're app in parallels why not use the search in windows? I know for sure that you can search the contents of any file for specified text strings. I'm not saying it'll be fast but it will do it.

mrplow

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
stellman

 
Member Since: Apr 12, 2008
Posts: 35
stellman is on a distinguished road
Mac Specs: Mac Pro

stellman is offline
Quote:
Originally Posted by technologist View Post
Well, it would certainly help if you got the Mac version of SPSS
Update many months later: This was the solution - changing over to Mac version of SPSS. I had continued to use the PC version because the academic license was July to June making it expensive to change in the middle of the year. I renewed the PC version because I only had a PC laptop at the time. Now that I have a MacBook I use SPSS for the Mac and Spotlight works exactly as expected.

Thanks to all for your advice and encouragement.
QUOTE Thanks

Post Reply New Thread Subscribe


« Not enough room on Time Macine? But there is!? | Is there any way to use spaces on only 1 of 2 monitors? »
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
Files Lost during Profile Move SITF OS X - Operating System 0 10-17-2006 03:54 PM
Searching for files / folders on Server gselliott OS X - Operating System 3 04-19-2006 05:17 PM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 06:26 PM
Help! Spotlight issues! Mainyehc OS X - Operating System 1 05-02-2005 12:18 AM

All times are GMT -4. The time now is 01:32 PM.

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?