Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created November 26, 2013 20:06
Show Gist options
  • Save smujohnson/7665243 to your computer and use it in GitHub Desktop.
Save smujohnson/7665243 to your computer and use it in GitHub Desktop.
# y u no work
sjohnson@web1:~/http$ find . -xdev -a \( -path ./template_c -a -prune \) -o \( -type f -a \( -iname "*.php" -o -iname "*.pl" -o -iname "*.tpl" \) -a print \) > job2.txt
find: paths must precede expression: print
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment