Re: How to change the directory for the docs?
- To: mathgroup at smc.vnet.net
- Subject: [mg115525] Re: How to change the directory for the docs?
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Thu, 13 Jan 2011 03:29:07 -0500 (EST)
- References: <ighgma$akm$1@smc.vnet.net>
- Reply-to: drmajorbob at yahoo.com
I get the message "warning, the -f option has been obsoleted, and does nothing", and indeed, the command apparently did nothing. Removing the -f option also does nothing. A simple solution is to open the Mathematica package, copy the Documentation directory, and paste it somewhere Spotlight can see. It wastes 1.6 GB on the drive, but hey! You gotta break a few eggs to get your omelet. That won't take care of things if Documentation is continuously updated in the background... but I doubt that it is. Bobby On Wed, 12 Jan 2011 11:11:59 -0600, telefunkenvf14 <rgorka at gmail.com> wrote: > On Jan 11, 5:59 am, DrMajorBob <btre... at austin.rr.com> wrote: >> Sadly, Spotlight can be told NOT to search a drive or directory, but it >> can't be told (as far as I can tell) to search anything in the >> application packages or system directories. >> >> Bobby > > I'm not a Mac guy, but sympathize with your indexing problems. I dug > up the following. Care to give it a try? (FYI, there may be one other > trick if this doesn't work.) > > -RG > > "Force Spotlight to Index Files" > From: http://www.macworld.com/article/45793/2005/07/augustgeekfactor.html > > By default, Spotlight ignores many directories, such as your Classic > System Folder. Sure, that makes results easier to comb through if you > never need to look for OS 9 fonts; but if you do need to search these > directories, it can be a real pain. > > Use the 'mdimport' command to add files to your Spotlight indexes. > When you do, youâ??ll be able to search for much more than the default > selection of files and folders. (When you add to your indexes this > way, Spotlight wonâ??t continue to index the new files automatically. > Youâ??ll have to run the command again.) > > The 'mdimport' command forces Spotlight to index a folder. When you > run the command, youâ??ll index all the contents of the directory and > its subdirectories. The basic command structure looks like this: > > mdimport -f > > directory name . > > So if you want to index your Classic System Folder, youâ??d type > > mdimport -f /"System Folder" > > (assuming that the System Folder is at the root level of your startup > volume). > > If you want to index other folders, or if Spotlight is not finding > certain files, use the same command with the appropriate paths to > index or reindex specific directories or volumes. Note: Spotlight > doesnâ??t index text files that lack the .txt extension. That means you > wonâ??t be able to improve its ability to find, for example, > configuration ( .config) files and preference ( .plist) files. -- DrMajorBob at yahoo.com