Skip to content

Instantly share code, notes, and snippets.

@gregmercer
Created August 10, 2012 22:10
Show Gist options
  • Select an option

  • Save gregmercer/3318554 to your computer and use it in GitHub Desktop.

Select an option

Save gregmercer/3318554 to your computer and use it in GitHub Desktop.
Linux: ls - list all .pdf files in a directory
# list all .pdf files in a directory
ls | egrep '\.pdf$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment