|
|
#1 |
|
Prospect
Join Date: Jun 2009
Posts: 2
|
Good afternoon!
Prompt, please, as it is possible to forbid Mac OS X (Leopard) hidden folder creation .Spotlight-V100 on flash-drive at its connection? Help me, please. I am sorry for the English. |
|
|
|
|
|
#2 |
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
There might be some way to stop the creation of that folder (never tried myself).
What folks typically want is to prevent a searchable index from being maintained on various drives. That can be achieved by making a special file at the root level: touch /Volumes/name\ of\ disk/.metadata_never_index So if your drive were named "My 8 Gig Flash", then you would mount it and run: touch /Volumes/My\ 8\ Gig\ Flash/.metadata_never_index -- Then, to erase any current index which it might have already acquired: sudo mdutil -E /Volumes/My\ 8\ Gig\ Flash Last edited by Hal Itosis; 06-19-2009 at 01:17 PM. |
|
|
|
|
|
#3 |
|
Hall of Famer
Join Date: Apr 2007
Posts: 4,262
|
it's also possible to prevent indexing of the drive by opening System Preferences, going to the Spotlight pane, choosing the privacy tab, and adding the flashdrive to the privacy area. that should delete the current spotlight index on the drive at the same time.
__________________
Philosophy is a battle against the bewitchment of our intelligence by means of language. -LW- |
|
|
|
|
|
#4 |
|
Major Leaguer
Join Date: Mar 2006
Posts: 432
|
If you have several drives, or if it's someone else's drive and you're trying to prevent it on multiple 'random' drives, you should look into Blueharvest which works well for me.
__________________
Maybe the light at the end of the tunnel is you. |
|
|
|
|
|
#5 |
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
tw and Cheech'i,
But if/when Aninatalie takes that flash drive and plugs it into a friend's Mac (or one at work, etc.), then *that* Mac will try to index. The presence of the ".metadata_never_index" file will preclude Spotlight indexing on that volume, no matter which Mac mounts it. [fwiw] |
|
|
|
|
|
#6 | |||||||||||||||||||||||
|
MVP
Join Date: Jan 2007
Posts: 1,751
|
That's what I thought, too. But the old index remains on the flash drive in my experience. It simply doesn't get updated again. You can minimize the contents of the index by (1) reformatting the flash drive, (2) immediately adding it to the Privacy list before any files are placed on the flash drive. .Spotlight-V100 still will be created, but it will remain empty. I'd note that if you reformat the flash drive again, even with the same name, it falls from the Privacy list and needs to be added once more. Along these lines, Hal, a question for you: Do you know if there's a way to use your method with some sort of unique system-generated ID rather than the name of the flash drive? I might have several flash drives called "My 8 Gig Flash". Or would it even matter? Would that unique system-generated ID change every time you reformat? --- Hal's last message posted while I was composing. I see his point. Last edited by macosnoob; 06-19-2009 at 04:06 PM. |
|||||||||||||||||||||||
|
|
|
|
|
#7 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Would not matter. The name of the file is simply ".metadata_never_index" and it is totally empty (no data inside). No matter which method is used, if the disk gets erased or reformatted... then the files telling Spotlight to back off also get erased. |
|||||||||||||||||||||||
|
|
|
|
|
#8 |
|
Prospect
Join Date: Jan 2003
Posts: 28
|
Life would be sooo much easier if Microsoft's simply wouldn't show files starting with a "." like any decent OS (Though i have a Philips Standalone DVD Player with an USB port that commits same sin...)
Also described methods works only for the indexing related files, OS X would still litter the thumbdrives with the .Trashes folder and .DS_Store and ._.Trashes files... Thanks, Cheech'i! Looks like Blueharvest might be useful to me! Much obliged! Last edited by Malenfant; 06-20-2009 at 02:33 AM. Reason: thanks added! |
|
|
|
|
|
#9 |
|
Prospect
Join Date: Jun 2009
Posts: 2
|
Hal Itosis - Many thanks!!! It seems has helped.
tw, Cheech'i - too thanks! |
|
|
|
![]() |
| Tags |
| .spotlight-v100 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|