Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I run an Ubuntu box as a media server, which I use to either share files (copy and paste off of the network drive), or stream to my computer (which runs Win7), or to my xbox. I have a lot of files on there, especially music. Currently when I'm searching for a file, I just use Windows' search, which can be quite slow. I was wondering if there were better ways to search from my Windows box? I'd prefer not to SSH in to the box and use find or something like that. Is there any way to speed up Windows' search? Or an easy alternative?

Thanks!

share|improve this question
    
This is cifs/samba? Kind of hard to make any suggestions without any data, only a symptom. Looks like you need a consultant because you didnt manage to formalize a real question. –  3molo May 30 '12 at 19:47
    
So you are looking for a "Linux find command" equivalent to "windows command line" , correct ? –  Chakri May 30 '12 at 21:28

1 Answer 1

up vote 0 down vote accepted

Without specific details, it's hard to say.

To speed up Windows Search, you could add an 'index location' of a mapped drive, but the Microsoft support/advice on this is that you probably shouldn't use a huge index.

In terms of indexing files, it would depend on your ultimate purpose. If you're looking to share the music so other devices may load/play it, it may be easier to setup a UPnP server (e.g. MediaTomb) or DAAP server (e.g. FireFly). This would negate the need to index the music collection provided a suitable client (e.g. Windows Media Player for UPnP, iTunes for DAAP) is available.

If you are looking to build an index (including text from within documents), then Xapian and Apache's Lucene/Solr are probably what you want. They're not 'friendly' out of the box.

On a personal aside, I found full indexing (i.e. the Xapian or Solr approach) to be severe overkill for home use, not to mention more of a hassle than it's worth, and opted to use a series of services to serve up the data required, along with the standard Samba/CIFS 'home' directories for per-user storage. Music is mounted read-only on its own share and sorted sensibly (i.e. artist's first name). This sort of organisation removes the need to 'index' it, as such, and means you don't need to maintain another service. (Though, to be honest, I still use DAAP and UPnP to support this.)

EDIT: For searching over ssh, look into slocate (read: 'locate' and 'updatedb').

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.