Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Looks like no one’s replied in a while. To start the conversation again, simply
ask a new question.
hello,
does anybody know what qualifies a network volume to be indexed and be searchable for spotlight?
I found this 'scope keys' in the Developer docs 'MDQuery Reference' (which give me the hope we can search on remote volumes, and hopefully not only on apples own servers):
Query Search Scope Keys - Specify the scope of a query’s search.
I'm not sure what qualifies mounted network volumes to be indexed. all my afp shares are indexed by default and I can search them. to do so you need to start a finder search and then switch the search location to "shared" in the search toolbar.
you can check if a particular mounted volume is indexed by running this command from terminal
mdutil -s /volumes/"volume name"
if it says that the indexing is disabled you can try enabling it with
What's wrong? security? no, all rights to read and write into the index and most files on the volume.
I do think it's wrong on apple's side of the desk.
machine:Archiv user 00:21:38 (1)$ failed to find PDF header: `%PDF' not found.
Incorrect start/end range ordering; fixing.
Incorrect start/end range ordering; fixing.
Converting string with language tags....
Converting string with language tags....
Converting string with language tags....
failed to find PDF header: `%PDF' not found.
invalid stream length 2781; should be 4535.
FlateDecode: decoding error: invalid stored block lengths.
missing or invalid /Flags entry; assuming standard encoding.
Incorrect start/end range ordering; fixing.
failed to find PDF header: `%PDF' not found.
ls -lR .Spotlight-V100/
total 0
drwxrwxrwx@ 4 user staff 264 29 Nov 21:31 Store-V1
.Spotlight-V100//Store-V1:
total 8
drwxrwxrwx@ 3 user staff 264 29 Nov 19:41 Stores
-rwxrwxrwx@ 1 user staff 357 29 Nov 19:41 VolumeConfig.plist
.Spotlight-V100//Store-V1/Stores:
total 0
drwxrwxrwx@ 2 user staff 264 29 Nov 19:41 53E4FA0B-5070-4F5D-A3B2-95AF576A1064
.Spotlight-V100//Store-V1/Stores/53E4FA0B-5070-4F5D-A3B2-95AF576A1064:
machine:Archiv user 00:44:13 (1)$ ls -lR .Spotlight-V100/
total 0
drwxrwxrwx@ 4 user staff 264 29 Nov 21:31 Store-V1
.Spotlight-V100//Store-V1:
total 8
drwxrwxrwx@ 3 user staff 264 29 Nov 19:41 Stores
-rwxrwxrwx@ 1 user staff 357 29 Nov 19:41 VolumeConfig.plist
.Spotlight-V100//Store-V1/Stores:
total 0
drwxrwxrwx@ 2 user staff 264 29 Nov 19:41 53E4FA0B-5070-4F5D-A3B2-95AF576A1064
Date/Time: 2009-12-07 00:49:34.178 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 167487 sec
Crashes Since Last Report: -13
Per-App Crashes Since Last Report: 1
Anonymous UUID: 10C8C1C5-7476-4BD7-A9DB-48DDE2743453
machine:~ user 01:10:57 (0)$ cd /Volumes/Archiv/; cd Bibliothek
machine:Bibliothek user 01:12:34 (0)$ ls -l@R
total 0
drwxr-xr-x@ 126 user staff 4240 5 Dez 22:36 Bildarchiv
com.apple.FinderInfo 32
drwxrwxrwx@ 37 user staff 1214 7 Dez 00:11 Dokumentenarchiv
com.apple.FinderInfo 32
drwxrwxrwx@ 17 user staff 534 2 Dez 09:06 Downloadarchiv
com.apple.FinderInfo 32
drwxrwxrwx 129 user staff 4342 24 Nov 17:43 Filmarchiv
drwxrwxrwx@ 5 user staff 264 10 Jul 2008 Fontarchiv
com.apple.FinderInfo 32
drwxrwxrwx@ 7 user staff 264 10 Jul 2008 Linkarchiv
com.apple.FinderInfo 32
drwxrwxrwx@ 13 user staff 398 25 Nov 20:02 Maschinenarchiv
com.apple.FinderInfo 32
drwxrwxrwx 12 user staff 364 6 Dez 22:28 Musikarchiv
drwxr-xr-x@ 7 user staff 264 26 Nov 12:28 Projektarchiv
com.apple.FinderInfo 32
./Bildarchiv:
ls: ._DOC: No such file or directory
ls: ._SafariSchnappschuss001.png: No such file or directory
ls: ._SafariSchnappschuss002.png: No such file or directory
ls: ._SafariSchnappschuss003.png: No such file or directory
ls: ._SafariSchnappschuss004.png: No such file or directory
ls: ._SafariSchnappschuss005.png: No such file or directory
ls: ._SafariSchnappschuss006.png: No such file or directory
ls: ._SafariSchnappschuss007.png: No such file or directory
ls: ._SafariSchnappschuss008.png: No such file or directory
ls: ._SafariSchnappschuss009.png: No such file or directory
ls: ._SafariSchnappschuss010.png: No such file or directory
ls: ._SafariSchnappschuss011.png: No such file or directory
ls: ._SafariSchnappschuss012.png: No such file or directory
ls: ._SafariSchnappschuss013.png: No such file or directory
ls: ._VorschauSchnappschuss001.png: No such file or directory
ls: ._VorschauSchnappschuss002.png: No such file or directory
ls: ._VorschauSchnappschuss003.png: No such file or directory
ls: ._VorschauSchnappschuss004.png: No such file or directory
-rwxr-xr-x@ 1 user staff 1555 27 Jun 10:37 Schnappschuss001.png
com.apple.ResourceFork 20620
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1564 27 Jun 10:38 Schnappschuss002.png
com.apple.ResourceFork 22537
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1607 27 Jun 10:38 Schnappschuss003.png
com.apple.ResourceFork 22597
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1558 27 Jun 10:38 Schnappschuss004.png
com.apple.ResourceFork 22579
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1531 27 Jun 10:39 Schnappschuss005.png
com.apple.ResourceFork 22174
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1500 27 Jun 10:39 Schnappschuss006.png
com.apple.ResourceFork 22579
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1509 27 Jun 10:39 Schnappschuss007.png
com.apple.ResourceFork 22102
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1425 27 Jun 10:40 Schnappschuss008.png
com.apple.ResourceFork 21991
com.apple.FinderInfo 32
-rwxr-xr-x@ 1 user staff 1462 27 Jun 10:41 Schnappschuss009.png
com.apple.ResourceFork 22009
com.apple.FinderInfo 32
mdutil -s /Volumes/Archiv
cd /Volumes/Archiv
ls -lR ./.Spotlight-V100*
cd Bibliothek
ls -l@R # makes a long list
# the following, could be cpu+network intensive
find . -name "*.pdf" -exec mdimport {} \;
find . -name "*.pdf" -exec ~/bin/openmeta -p {} \;
# what I expect from this commands?
want to see if spotlight indexing is turned on
cd to my archive
there is the same dirtree as in /, different guid.
show xattrs on files in my library
search all pdf and import into spotlight
search all pdf and display its openmeta tags