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
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to