From: Christiaan H. <cmh...@gm...> - 2010-09-27 14:35:06
|
On Sep 27, 2010, at 16:11, Charles Turner wrote: > Hi all- > > Is there any way to determine whether a PDF has been "skimmed" via the Finder? I've been setting any PDF that I've converted notes on to "Open with Skim," but realize that there's neither a creator code nor a UTI that uniquely identifies my skimmed PDFs. > > I'd like to, given a mixed group of PDFs (from Preview, Acrobat, Skim, etc.), be able to isolate the "Skimmed" PDFs while in the Finder. > > Any thoughts on how I could do this? > > Many thanks, Charles > You can set a hidden pref to set Skim's creator code when it saves a PDF, see the Wiki for details. However, AFAIK the Finder doesn't really do anything with this info. Christiaan |
From: Charles T. <vze...@op...> - 2010-09-27 20:05:34
|
On Sep 27, 2010, at 10:33 AM, Christiaan Hofman wrote: > You can set a hidden pref to set Skim's creator code when it saves a PDF, see the Wiki for details. However, AFAIK the Finder doesn't really do anything with this info. Hi Christiaan- This is fine. If my files are saved in this manner, I can search for them in the Finder Search by selecting "Raw" from the query attributes and entering: kMDItemFSCreatorCode = SKim also in Leap, I can enter: mdq:kMDItemFSCreatorCode == "SKim" Not sure what to enter in Houdah Spot, but I've asked on their Forum. (I'll be more conscientious with the Wiki info in the future.) Best wishes, Charles |
From: MikeS <spa...@sc...> - 2011-03-02 02:56:33
|
Has anyone identified any duplicate-finding tools that can distinguish PDFs with Skim notes from other copies of those files without Skim notes? or even better, from files with different skim notes? Same questions for PDFDs. Christiaan -- How should the following be modified to search for all PDFDs that have Skim notes? #!/bin/bash if [ -d "$1" ]; then find "$1" -type f -name "*.pdf" -exec "$0" "{}" ";" elif [ ! -z `xattr "$1" | grep net_sourceforge_skim-app_notes` ]; then echo "$1" fi Thanks, Mike |
From: Christiaan H. <cmh...@gm...> - 2011-03-02 13:57:15
|
On Mar 2, 2011, at 3:42, MikeS wrote: > Has anyone identified any duplicate-finding tools that can distinguish PDFs with Skim notes from other copies of those files without Skim notes? or even better, from files with different skim notes? Same questions for PDFDs. > > Christiaan -- How should the following be modified to search for all PDFDs that have Skim notes? > > #!/bin/bash > if [ -d "$1" ]; then > find "$1" -type f -name "*.pdf" -exec "$0" "{}" ";" > elif [ ! -z `xattr "$1" | grep net_sourceforge_skim-app_notes` ]; then > echo "$1" > fi > > Thanks, > Mike Don't want to break my head over translating into bash, but when it's a .pdfd bundle you can look whether it contains a file with a .skim extension. You could perhaps also use the skimnotes tool, which works both on PDF files and PDFD bundles. Christiaan |
From: MikeS <spa...@sc...> - 2011-03-02 19:31:19
|
thanks -- will explore both avenues. >On Mar 2, 2011, at 3:42, MikeS wrote: > >>Has anyone identified any duplicate-finding tools that can >>distinguish PDFs with Skim notes from other copies of those files >>without Skim notes? or even better, from files with different skim >>notes? Same questions for PDFDs. >> >>Christiaan -- How should the following be modified to search for >>all PDFDs that have Skim notes? >> >>#!/bin/bash >> >>if [ -d "$1" ]; then >> >> find "$1" -type f -name "*.pdf" -exec "$0" "{}" ";" >> >>elif [ ! -z `xattr "$1" | grep net_sourceforge_skim-app_notes` ]; then >> >> echo "$1" >> >>fi >> >> >>Thanks, >>Mike >> > >Don't want to break my head over translating into bash, but when >it's a .pdfd bundle you can look whether it contains a file with a >.skim extension. You could perhaps also use the skimnotes tool, >which works both on PDF files and PDFD bundles. > >Christiaan |