Re: [Skim-app-users] finding skim-annotated PDFs

2011-08-23 Thread humanengr
Done. humanengr >It's more a remark about the wiki link. > >Christiaan -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of

Re: [Skim-app-users] finding skim-annotated PDFs

2011-08-23 Thread Christiaan Hofman
On Aug 23, 2011, at 19:00, humanengr wrote: > Try this. > > humanengr > >> I am not able to download the files, it requires a password. >> >> Christiaan It's more a remark about the wiki link. Christiaan -- Get a FR

Re: [Skim-app-users] finding skim-annotated PDFs

2011-08-23 Thread humanengr
Title: Re: [Skim-app-users] finding skim-annotated PDFs Try this. humanengr I am not able to download the files, it requires a password. Christiaan -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system

Re: [Skim-app-users] finding skim-annotated PDFs

2011-08-23 Thread Christiaan Hofman
On Aug 23, 2011, at 17:32, humanengr wrote: > I added four EaglieFiler Applescripts to the Skim wiki Applescript page. > > pdfd_to_pdf > pdf_embed-to-pdf > pdf_w_annotations-to-pdf_embed > pdf_w_annotations-to-pdfd > > These scripts build on EagleFiler's pdf-to-pdf_bundle script and can help th

Re: [Skim-app-users] finding skim-annotated PDFs

2011-08-23 Thread humanengr
Title: Re: [Skim-app-users] finding skim-annotated PDFs I added four EaglieFiler Applescripts to the Skim wiki Applescript page. pdfd_to_pdf pdf_embed-to-pdf pdf_w_annotations-to-pdf_embed pdf_w_annotations-to-pdfd These scripts build on EagleFiler's pdf-to-pdf_bundle script and can hel

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread humanengr
At 11:08 PM +0200 6/1/11, Christiaan Hofman wrote: Probably better to just change the POSIX file assignments to something like set thepdf to POSIX file "${file}" as alias set thepdfd to POSIX file "${file}d" as alias Done per suggestion. New version attached. At 2:37 PM -0400 6/1/11, Thomas S

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Christiaan Hofman
On Jun 1, 2011, at 23:19, Matt Mollison wrote: > Oh, I thought you wrote it based on this post > , which I > found in the eagleflier thread that humanengr linked to >

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Matt Mollison
Oh, I thought you wrote it based on this post < http://sourceforge.net/mailarchive/message.php?msg_id=20140398>, which I found in the eagleflier thread that humanengr linked to < http://c-command.com/forums/showpost.php?p=12125&postcount=13>. Sorry for making assumptions. Matt On Wed, Jun 1, 2011

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Christiaan Hofman
On Jun 1, 2011, at 20:01, Matt Mollison wrote: > Christiaan, > > No, it does matter. I'm guessing you didn't actually try running it using . > as the input. The find command I proposed to replace is called when the input > is a directory (after `if [ -d "$1" ]; then`). You should know what hap

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Thomas Schneider
humanengr: > It's a bash script -- per the first line. Follow standard bash procedure: > Put it where you normally store your scripts (~/bin or /usr/local/bin) > Include that in your path. Thanks, I had that under control. By the way: http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html is

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Thomas Schneider
humanengr: > That's the correct set of files in the pdfd. May I ask -- does the > pdfd appear as a file or a folder? How do your pdfd bundles normally > appear? I hadn't known about pdfd bundles before this. They appear as a directory using ls but as a file with the graphical view on the Mac. >

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Thomas Schneider
Christiaan: > > I was expecting a single pdf inside the original file. > > Then you expect wrongly. This is what the script does: it converts > PDF files with Skim notes to PDFD packages, which are directories > with such a file content. You will see that in Finder it looks like > a file rathe

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Matt Mollison
Christiaan, No, it does matter. I'm guessing you didn't actually try running it using . as the input. The find command I proposed to replace is called when the input is a directory (after `if [ -d "$1" ]; then`). You should know what happens with the find command, you wrote it. :) (i.e., if the in

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread humanengr
Title: Re: [Skim-app-users] finding skim-annotated PDFs As shown in the listings of my previous email, I am running in the same directory or directing the script to a directory that contained the PDF.  I'm running the script from tcsh with '.' in the path.  The reaction of th

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Thomas Schneider
Adam: > >>if [ "$parentFolderExt" != "pdfd" ]; then > >> (adding double quotes around $parentFolderExt). That's just a guess... > > Try putting echo "parentFolderExt $parentFolderExt" before that line. That took me a while to realze you meant, add a line: echo "parentFolderExt '$parentFo

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Christiaan Hofman
On Jun 1, 2011, at 5:34, Thomas Schneider wrote: > humanegr: > >> As indicated in the file, it is intended to be run on a folder, so >> the usage would be >> >> conv_pdf_w_notes_to_pdfds_03.sh <> > > I saw that and ran it that way but the result was odd - it created a > directory containing th

Re: [Skim-app-users] finding skim-annotated PDFs

2011-06-01 Thread Christiaan Hofman
On Jun 1, 2011, at 6:33, Matt Mollison wrote: > Also, it seems that the osascript part doesn't like '.' as the argument, so > if you'd like to operate on the current directory using '.', you can change > the top 'find' command to something like this: > > if [ "$1" = '.' ]; then > thi

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread humanengr
Title: Re: [Skim-app-users] finding skim-annotated PDFs > 78% cd ks.pdfd/ > 79% ls > ks.pdf   ks.rtf   ks.skim  ks.txt I was expecting a single pdf inside the original file. That's the correct set of files in the pdfd. May I ask -- does the pdfd appear as a file or a folder? Ho

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Adam R. Maxwell
On May 31, 2011, at 21:07 , Thomas Schneider wrote: >> if [ "$parentFolderExt" != "pdfd" ]; then >> (adding double quotes around $parentFolderExt). That's just a guess... > > That's often true in scripts but it didn't make a difference. Try putting echo "parentFolderExt $parentFolderExt"

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Matt Mollison
Also, it seems that the osascript part doesn't like '.' as the argument, so if you'd like to operate on the current directory using '.', you can change the top 'find' command to something like this: if [ "$1" = '.' ]; then thisDir="$PWD" else thisDir="$1" fi find "$thisDir" -type f

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Thomas Schneider
Adam: > if [ "$parentFolderExt" != "pdfd" ]; then > (adding double quotes around $parentFolderExt). That's just a guess... That's often true in scripts but it didn't make a difference. > Only if the xattr command exists :). Right! Tom Thomas D. Schneider, Ph.D. National Institutes

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Adam R. Maxwell
On May 31, 2011, at 20:34 , Thomas Schneider wrote: >> It does, however, work (for me) on an individual pdf as well. > > In that case it crashed > conv_pdf_w_notes_to_pdfds_03.sh: line 19: [: !=: unary operator expected Searching google for that error indicates that perhaps line 19 should be

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Thomas Schneider
humanegr: > As indicated in the file, it is intended to be run on a folder, so > the usage would be > > conv_pdf_w_notes_to_pdfds_03.sh <> I saw that and ran it that way but the result was odd - it created a directory containing the original pdf, an rtf, a 'skim' file and a txt file: > 78% cd ks

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread humanengr
Title: Re: [Skim-app-users] finding skim-annotated PDFs Tom -- As indicated in the file, it is intended to be run on a folder, so the usage would be conv_pdf_w_notes_to_pdfds_03.sh <> It does, however, work (for me) on an individual pdf as well. In either case, the only Terminal output

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Thomas Schneider
humanengr: > Works in my tests. I deleted some unneeded parentheses on the chance > they were the cause. Try the attached. Thanks. 69% ls conv_pdf_w_notes_to_pdfds_03.sh* ks.pdf 70% conv_pdf_w_notes_to_pdfds_03.sh ks.pdf ks.pdf conv_pdf_w_notes_to_pdfds_03.sh: line 19: [: !=: unary operator e

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread humanengr
Works in my tests. I deleted some unneeded parentheses on the chance they were the cause. Try the attached. humanengr On Mon, May 30, 2011 at 02:46:28AM -0400, humanengr wrote: I posted a version of the script that also copies label, spotlight comments, and modification date from the pdf to

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-31 Thread Thomas Schneider
On Mon, May 30, 2011 at 02:46:28AM -0400, humanengr wrote: > I posted a version of the script that also copies label, spotlight > comments, and modification date from the pdf to the pdfd to the > EagleFiler list at > http://c-command.com/forums/showpost.php?p=12443&postcount=16. sl: line 45: sy

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-30 Thread Christiaan Hofman
On May 30, 2011, at 8:46, humanengr wrote: > I posted a version of the script that also copies label, spotlight > comments, and modification date from the pdf to the pdfd to the > EagleFiler list at > http://c-command.com/forums/showpost.php?p=12443&postcount=16. Perhaps you can also put it o

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-29 Thread humanengr
I posted a version of the script that also copies label, spotlight comments, and modification date from the pdf to the pdfd to the EagleFiler list at http://c-command.com/forums/showpost.php?p=12443&postcount=16. -- vRa

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-24 Thread humanengr
Here's a script to convert each pdf with skim notes in a folder (and its subfolders) to a pdfd. Thanks to Christiaan for refining my script (constructed from his scripts in prior posts). humanengr Here's an improved ans simplified version, it also removes the file only when the conversion

Re: [Skim-app-users] finding skim-annotated PDFs

2011-05-22 Thread Christiaan Hofman
On May 22, 2011, at 23:51, Oliver Pooley wrote: > I have a fairly large library of PDFs (just under 2000) organised by > Papers.app. A small subset of these (about 100) have been annotated with > Skim, with the annotations stored in the default manner (as extended > attributes). I don't know