Jump to content

KellyNee23

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by KellyNee23

  1. Hi Shawn, The Script did not have any errors when I ran it this time, but it did not do what I needed it to do. It didn't copy the images from the Test Images folder onto my desktop. Below is the script with the modifications you suggested. Can you please tell me what I'm doing wrong? Thank you so much for your help. It is greatly appreciated. #!/bin/bash file=/Users/admin/Desktop/ISBN_Test.csv image_path=/Users/admin/Desktop/Test_New/ destination=/Users/admin/Desktop/ if [ ! -d "$image_path" ]; then echo "$image_path not found." exit 90 fi if [ ! -d "$destination" ]; then echo "$destination not found." exit 91 fi OLDIFS=$IFS IFS= # unit, isbn, title, H1 [ ! -f $file ] && { echo "$file file not found"; exit 92; } while read unit isbn do cp "$image_path$isbn.* $destination" done < $file echo "Finished copying images." IFS=$OLDIFS
  2. Hi Shawn, I ran the script with some modifications as you suggested, but I could not get it to work. Can you take a look at it and tell what I'm doing wrong please? #!/bin/bash file=/Users/admin/Desktop/ISBNS.xlsx/ image_path=/Users/admin/Desktop/Test_New/ destination=/Users/admin/Desktop/ if [ ! -d "$image_path" ]; then echo "$image_path not found." exit 90 fi if [ ! -d "$destination" ]; then echo "$destination not found." exit 91 fi OLDIFS=$IFS IFS= # unit, isbn, title, H1 [ ! -f $file ] && { echo "$file file not found"; exit 92; } while read unit isbn do cp "$image_path$isbn.* $destination" done < $file echo "Finished copying images." IFS=$OLDIFS It keeps telling me it failed (92). I changed the 99s to different numbers so that I could see where it was bugging out. Thank you for your help. It is very much appreciated.
  3. Hi David, The files are mostly organized into one large folder with sub-folders for special images this is located on one of our servers. We can make one large folder with all of our images if it makes things easier, but if there is a way to lookup the images in multiple locations (folders) or servers that would be better for us.
  4. Hi Carlos! I was told to ask you for help regarding a applescript/workflow I'm trying to get going. We have a large collection of product images and are frequently sent Excel spreadsheets listing which images are required to be gathered to be uploaded to our site. Our image files are located on different servers and have a 13 digit name with an _I1 followed by it, i.e. 9781520560331_I1. The images are usually jpegs or tif. I wanted to run a script on Auomator to look at the image...

    1. Carlos-Sz

      Carlos-Sz

      I’m still on vacation. I’m not sure I can help you regarding such specific workflow due the lack of time lately. I use some of them (like Evernote) and share here.

  5. Well if you could help me out that would be great, if you don't mind. I'll ask Carlos to look at my issue as well, but I'm open to other methods. Thank you.
  6. Hi, I need to use automator and applescript. We need to be able to run this script over and over again with different excel sheets that will contain different image names. We have a collection of over 200,000 images. If you can suggest an easier way that would be appreciated as well. unit isbn title Kindergarten Theme Collection 9780763559601_I1 Party Hats Kindergarten Theme Collection 9780763566036_I1 Bobbie & The Parade Kindergarten Theme Collection 9780763559618_I1 The Parade Kindergarten Theme Collection 9781419063824_I1 Parades
  7. Hi, We have a large catalogue of product images and are frequently sent Excel spreadsheets listing which images are required to be gathered to be uploaded to our site. Our image files are located on different servers and have a 13 digit name with an _I1 followed by it, i.e. 9781520560331_I1. The images are usually jpegs or tif. I wanted to run a script on Auomator to look at the image name within the excel worksheet and look up the image by either using Finder or by me telling it exactly where to look and then copying the images into a folder setup on the desktop. I have looked at some of the scripts that are on the support page, but I was unable to get them to work. Thank you for your help, Kelly Nee
×
×
  • Create New...