Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gphotos-takeout-repair

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gphotos-takeout-repair

Organize a Google Photos export (created with Takeout) into a useful directory of files.

  • 1.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

gphotos-takeout-repair CI npm version

Organize a Google Photos export (created with Takeout) into a useful directory of files.

The output is a directory of files (with folder structure retained) suitable for use as a traditional photo library, where there are no JSON files or duplicate "edited" versions, and files have suitable Date Created timestamps.

For example given the following files in the source directory:

FilenameDate CreatedDescription
IMG_0001-edited.jpgTakeout export dateEdited version of the file
IMG_0001.jpgTakeout export dateOriginal version of the file
IMG_0001.jpg.jsonTakeout export dateMetadata information for file
IMG_0002.mp4Takeout export dateOriginal version of the file
IMG_0002.mp4.jsonTakeout export dateMetadata information for file

The output in the destination directory will be:

FilenameDate CreatedDescription
IMG_0001.jpg"Photo taken" date from JSONEdited version of the file
IMG_0002.mp4"Photo taken" date from JSONOriginal version of the file

Features

  • Copies files to destination directory using photoTakenTime from the JSON file
  • Copies the (usually best) "edited" version where possible to prevent duplicates
  • Retains source directory folder structure to handle Takeout's exporting of albums
  • Handles many common Takeout export filename and encoding issues (view tests)

Install

npm install -g gphotos-takeout-repair

Usage

gphotos-takeout-repair --src ./unzipped-takeout-dir --dest ./output-dir

Keywords

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc