Skip to content

Instantly share code, notes, and snippets.

@diogo-almeida
Created February 12, 2014 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diogo-almeida/8959167 to your computer and use it in GitHub Desktop.
Save diogo-almeida/8959167 to your computer and use it in GitHub Desktop.
Extract annotation out of Skim-annotated files (Skim is a Mac OS X only application for viewing and annotating pdfs).
# In order to be able to use the Skim command line utilities, you might have to need to copy them to your /usr/bin/ folder
sudo cp -p /Applications/Skim.app/Contents/SharedSupport/skimpdf /usr/bin/
sudo cp -p /Applications/Skim.app/Contents/SharedSupport/skimnotes /usr/bin/
sudo cp -p /Applications/Skim.app/Contents/SharedSupport/displayline /usr/bin/
# Use skimnotes to extract annotations:
skimnotes get Almeida2013.pdf Almeida2013.txt # extract annotation into text format
skimnotes get Almeida2013.pdf Almeida2013.skim # extract annotation into skim format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment