0
I am looking for the best way to optimize the following command shell in the Mac OSX, in order to fulfill the function that is intended which is basically to copy all files xx to the folder xx2:
ditto $(mdfind xx1) ~/Desktop/xx2
or else
ditto $(mdfind -onlyin ~/xx1) ~/Desktop/xx2