Had a ton of pdf files in numerous sub-directories. The goal was to collect them into a single directory
$ DEST="directory where you want to collect your pdf files" $ find . -type f -name \*.pdf -exec cp \{\} $DEST \;