google-photos-migrate
Version:
A tool to fix EXIF data and recover filenames from a Google Photos takeout.
17 lines (16 loc) • 547 B
TypeScript
import { ExifTool } from 'exiftool-vendored';
export type MigrationArgs = {
inputDir: string;
outputDir: string;
errorDir: string;
log?: (msg: string) => void;
warnLog?: (msg: string) => void;
verboseLog?: (msg: string) => void;
exiftool?: ExifTool;
exiftoolArgs?: string[];
endExifTool?: boolean;
skipCorrections?: boolean;
renameEmpty?: string;
migrationLocks?: Map<string, Promise<string>>;
};
export declare function migrationArgsDefaults(args: MigrationArgs): Promise<Required<MigrationArgs>>;