Kevlesser wrote:
this is good but on a volume with alot of files, every search takes ages to find anything, i thought by doing it through maybe a terminal command it may find it quicker....
What files types are you talking about?
If it is a plain text file 'grep' will find words within a file, however it will still have to traverse the entire filesystem.
grep -RI "Stuff" /Volumes/MY-NAS
-R = recurse directores
-I (uppercase i) = ignore binary files.
Will find 'Stuff' in /volumes/MY-NAS (case sensitive).
You can tweak the output options to get full paths etc
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/grep.1.html
I'm unsure how well Spotlight indexing works on NAS's you may find that one client kills the entire index that another client created, normally the index is managed on an OS X server that hosts that share. File permissions & ACL's may make it interesting in a multi user environment.
Are others here indexing NAS's via Spotlight?