find: paths must precede expression

*を使うとき、"で囲まないと出る(場合がある)

$ find . -name "*.pdf"

*がfindの引数になる前にシェルがパス名展開してしまう。


qiita.com

stackoverflow.com