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 <<folder name>> > > 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.pdfd/ >> 79% ls >> ks.pdf ks.rtf ks.skim ks.txt > > 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 rather than a folder. If you want it to do something else, you should modify the script to do whatever you want it to do. For instance, you could use 'skimpdf embed' instead of 'skimnotes convert' if you want to embed the Skim notes in the PDF data. Christiaan > Unfortunately > I don't know sh well enough to interpret everything yet. > >> 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 > >> In either case, the only Terminal output I get is the list of the >> files to be converted. >> >> I'll try on another Mac (hopefully later today). > > Thanks. I'm running the latest version of Mac OS X, but of course > this script should run ok on any unix system. > > Tom > > Thomas D. Schneider, Ph.D. > National Institutes of Health > National Cancer Institute > Gene Regulation and Chromosome Biology Laboratory > Molecular Information Theory Group > Frederick, Maryland 21702-1201 > [email protected] > http://alum.mit.edu/www/toms (permanent) ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
