Tuesday, October 28, 2014

pdftk in Mac OS X with tips

Download pdftk for Mac. tips: 1. Split multi-page PDFs into single page PDFs $ pdftk my_multi_page.pdf burst $ pdftk my_multi_page.pdf burst output my_directory/page_%02d.pdf 2. Pull some pages out of a PDF but keep the rest $ pdftk my.pdf cat 1-5 13-21 24-end output my_edited.pdf 3. Concatenate (that’s join!) multiple pdfs into one big pdf $ pdftk part0.pdf part1.pdf cat output the_whole_book.pdf 4. Get all of the images...
Read more ...

Wednesday, October 22, 2014

Copy file or folder path to the clipboard in Mac OS X

Link. Launch Automator Double-click the Service icon Toward the top of the right column, you’ll see this line of text: “Service receives selected _____ in _____”. Choose “Files or Folders” from the first menu and “Finder” from the second. Click on Utilities in the Actions library on the left side. Double-click “Copy to Clipboard” in the middle column. Go to File > Save in the menu bar and name your service Copy File Path. Launch...
Read more ...

Tuesday, October 14, 2014

Terminal command to check used memory in OS X

top -l 1 | head -n 10 | grep PhysM...
Read more ...