codez / ImportPhotoFolders

Import a folder hierarchy as albums into OS X Photos.
MIT License
248 stars 42 forks source link

duplicate import bulk handling #28

Open xaier opened 2 years ago

xaier commented 2 years ago

Hi,

Great script firstly. I was wondering is there an option to setup the script to handle duplicate file imports.

right now it dialog box pops up that asks how would you like to handle duplicate files? obviously do not import but you have to sit there and watch for this dialog which be tedious.

any one else have a solution to this issue?

rleaver152 commented 1 week ago

this is the line - change the no to a yes, as so: import imageList into fotoAlbum skip check duplicates yes

rleaver152 commented 1 week ago

as a ps, for modern Photos, you probably want to also set extensionsList to {"heic", "HEIC", "jpg", "png", "tiff", "JPG", "jpeg", "gif", "JPEG", "PNG", "TIFF", "GIF", "MOV", "mov", "MP4", "mp4", "M4V", "m4v", "MPG", "mpg", "BMP", "bmp", "TIF", "tif", "AVI", "avi", "PSD", "psd", "ai", "AI", "orf", "ORF", "nef", "NEF", "crw", "CRW", "cr2", "CR2", "dng", "DNG", "PEF"} to capture the HEIC format used now