I’m trying to move only PDFs from a heavily nested folder structure (ie remove the subfolders). Applescript times out on a large folder, so I thought I’d use the line command:
Jaques- by monkey-on-the-keyboard happenstance I actually got the -exec version to work just before i got your response! The trick was putting the path in ’ ’ (soft quotes). Thanks for the xargs version as well.
Stefan- thanks for the mdfind version. I’m using that utility more and more. The only issue I’ve had is that network servers tend to yield spotty metadata.