Skip to main content

Sync Folder To Bin

Category: Pr Bins & Project Items Sync Folder To Bin block screenshot

Synchronizes a filesystem folder with a Premiere bin while ignoring hidden/system files such as .DS_Store and Thumbs.db. Existing Bin contents are enumerated before the block decides which media to import or delete. If Premiere repeatedly returns an incomplete child list, Sync Folder aborts rather than treating omitted items as missing. Preparatory target-Bin creation may already have committed; this error does not roll it back. Use onError to decide whether errors stop the script, continue, or return false when the block supports it. Use includeSubfolders to decide whether subfolders are imported, ignored, or flattened, for example INCLUDE, EXCLUDE, or FLATTEN. Hidden/system files and hidden folders are always ignored. Set asNumberedStills when numbered image sequences should be treated as still sequences during sync. Set deleteMissing when items missing on disk should also be removed from the target bin. If storeImportedIn is set, newly imported project items are written to that variable. If storeSkippedIn is set, skipped filesystem entries are written to that variable. If storeDeletedIn is set, deleted project items are written to that variable.

Inputs​

InputRequiredValue KindTypesEnum Values
folderPathyesexpressionfile-path-string—
targetBinPathyesexpressionpremiere-pathspec-string—
includeSubfoldersnoexpressionenum-stringINCLUDE, EXCLUDE, FLATTEN
asNumberedStillsnoexpressionboolean—
deleteMissingnoexpressionboolean—
onErrornoexpressionenum-stringSTOP, CONTINUE, RETURN_FALSE
storeImportedInnovariable-namevariable-name—
storeSkippedInnovariable-namevariable-name—
storeDeletedInnovariable-namevariable-name—

Notes​

  • Synchronizes a filesystem folder with a Premiere bin while ignoring hidden/system files such as .DS_Store and Thumbs.db.
  • Existing Bin contents are enumerated before the block decides which media to import or delete. If Premiere repeatedly returns an incomplete child list, Sync Folder aborts rather than treating omitted items as missing. Preparatory target-Bin creation may already have committed; this error does not roll it back.