Help with search and view using mdfind and qlmanage?
- by Michael
Hi, I'm trying to use mdfind and qlmanage to find and display files with quicklook.
So far I have this, but am having trouble getting the results from mdfind formatted correctly to pass to qlmanage:
tagSearch=$(mdfind -onlyin '/Users/username/Documents/Data' -interpret 'tag:[REFERENCE] Design' | sed -e 's/.*/\"&\" /' | perl -pe 's/\n/ /' );…