Skip to main content
2 of 3
added 3 characters in body
nohillside
  • 104.5k
  • 42
  • 222
  • 275

You can use find to skip unwanted files, no need to grepafterwards:

find PATH \( -name '._*' -prune \) -o -type f -iname '*.mov' -execdir echo {} \;

PS: The reason your second command doesn't work is in the pattern used for grep. You strip out the path name in the find, so grep -v '^._' should be used instead.

nohillside
  • 104.5k
  • 42
  • 222
  • 275