Q:

Using find command but getting the error "paths must precede expression"

I'm trying to use the find command, but get "paths must exceed expression:name" 
I've looked at the answers given here previously and added quotes around my expression, but it still is giving me the same error. My $SUB path is /home/year/sessions/subjects/MRI
    find $SUB \( -name '*first*.tgz' -o name '*second*.tgz' \) -exec cp {} ./$SUBJECT1 \;

Is my path-to-file incorrect? Thanks in advance

A:

The correct command is:
  find $SUB \( -name '*first*.tgz' -o -name '*second*.tgz' \) -exec cp {} ./$SUBJECT1 \;

