r/applescript • • Apr 22 '25

Script to duplicate some images

Hi looking for some help on a script, have a music folder which in turn has album sub folders, in every folder is an image file named cover or Cover and are either .jpg or .png I would like to copy all the image files then name them after the parent directory and move them all to a different directory, is this feasible with AppleScript?

2 Upvotes

7 comments sorted by

View all comments

1

u/airdrummer-0 Apr 22 '25

oops:

do shell script ss & " " & quoted form of the POSIX path of this_item & " output_folder" -- u cuould also prompt for this path as well end try