Desktops
Q: Locally host webpage, to search host for images using spotlight
I'm just experimenting here, but I am thinking of creating a webpage that is locally hosted so that other on the network can view it then they a put a search term in, usually a filename then parse the information to terminal using something like this, then load that file to the page?
mdfind -onlyin /Volumes/Images 'kMDItemDisplayName == \"" & fileName & "*.png\"c'
I no very little on webpage development, but could this be possible?
Matt
Mac Pro, OS X Yosemite (10.10.2)
Posted on Nov 10, 2015 8:19 AM