Git Product home page Git Product logo

payomdousti / gphotos-exif-remerger Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 13 KB

EXIF ReMerger for Google Photos is a specialized tool designed to re-associate EXIF metadata with images after they've been uploaded to Google Photos. This utility tackles the common issue of stripped EXIF data, such as timestamps, camera settings, and geolocation information, during the upload process to Google Photos.

License: MIT License

JavaScript 100.00%

gphotos-exif-remerger's Introduction

GPhotos-EXIF-ReMerger

EXIF ReMerger for Google Photos is a specialized tool designed to re-associate EXIF metadata with images after they've been uploaded to Google Photos. This utility tackles the common issue of stripped EXIF data, such as timestamps, camera settings, and geolocation information, during the upload process to Google Photos.

Prerequisites

  • Node.js
  • npm

Installing

  • Clone the repository
  • Navigate to the project directory
  • Run npm install to install dependencies

Usage

  • Update the src and dest variables in index.js to the source and destination directories, respectively.
  • Run the script with node index.js.

Functionality

The script works as follows:

  • It reads the source directory and processes each file.
  • If a file is a JSON file, it checks if a corresponding media file exists in the source directory.
  • If a corresponding media file exists, it reads the JSON file, creates Exif data from the JSON metadata, copies the media file to the destination directory, and updates the Exif data and timestamp of the copied media file.
  • If a corresponding media file does not exist, it logs an error and skips the JSON file.
  • If a file is not a JSON file, it simply copies the file to the destination directory.

Built With

  • Node.js
  • exiftool-vendored - A Node.js wrapper for the ExifTool command-line application.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

gphotos-exif-remerger's People

Contributors

cozyfinance avatar payomdousti avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.