views:

24

answers:

0

Using apple os 10.5.x I am trying to hunt down font files and move them on client workstations. So far I have:

mv $(mdfind -onlyin ~/Desktop/fontRm/ "kMDItemContentType == '*ont*'" | sed -e 's/ /\\ /g') /Users/chrihopk/Desktop/target/

I'm struggling with getting the sed command to escape the spaces before the mv command executes.

Thanks.