Previous 1 2 3 Next 31 Replies Latest reply: Dec 4, 2012 4:58 PM by adayzdone Go to original post
  • ludwip Level 1 (0 points)

    And exactly where in the script should I paste it?

    adayzdone wrote:

     

    Like this:

     

    do shell script "find " & quoted form of mainFolder & " -iname *.jp*g -o -iname *.pdf -o -iname *.tiff"
    

     

    .jp*g matches jpg or jpeg

  • adayzdone Level 2 (150 points)
    set mainFolder to "/Users/ludwip/Documents/My Folder"
    do shell script "find " & quoted form of mainFolder & " -iname *.jp*g -o -iname *.pdf -o -iname *.tiff -print0 | xargs -0 sips -r 90"
    
Previous 1 2 3 Next