Skip to content

Instantly share code, notes, and snippets.

@dwillis
Created June 10, 2010 21:47
Show Gist options
  • Save dwillis/433691 to your computer and use it in GitHub Desktop.
Save dwillis/433691 to your computer and use it in GitHub Desktop.
file = "/Users/archie/Desktop/awesome.pdf"
system "pdftotext -layout #{file}"
new_file = File.open("/Users/archie/Desktop/awesome.txt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment