google-photos-migrate
Version:
A tool to fix EXIF data and recover filenames from a Google Photos takeout.
6 lines (5 loc) • 344 B
TypeScript
import { MigrationContext } from '../dir/migrate-flat';
/** Copies or moves a file to dir, saves duplicates in subfolders and returns the new path.
* Atomic within this app, sanitizes filenames.
*/
export declare function saveToDir(file: string, destDir: string, migCtx: MigrationContext, move?: boolean, saveBase?: string): Promise<string>;