Git Product home page Git Product logo

aashishsaini / gps_extractor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 19 KB

A command line utility that finds all JPEGs inside of a folder recursively and extracts their EXIF GPS data if present. It will default to scanning the pwd unless a directory is provided as an argument. Results are written to a file in the pwd as the scan runs. CSV files will be produced by default, use -html for HTML files instead. If the app is not installed as a gem, the HTML output requires configuration when being called from outside the app folder.

License: MIT License

Ruby 96.19% HTML 3.81%

gps_extractor's Introduction

GpsExtractor

A command line utility that finds all JPEGs inside of a folder recursively and extracts their EXIF GPS data if present. It will default to scanning the pwd/output unless a directory is provided as an argument.

Results are written to a file in the pwd as the scan runs. CSV files will be produced by default, use -html for HTML files instead. If the app is not installed as a gem, the HTML output requires configuration when being called from outside the app folder.

Installation

Clone the repo:

$ cd gps_extractor
$ bundle install
$ ruby lib/gps_extractor.rb

SYNOPSIS

Usage: ruby lib/gps_extractor.rb [options] [/target/folder/path]

Usage

 ruby lib/gps_extractor.rb
 ruby lib/gps_extractor.rb -v
 ruby lib/gps_extractor.rb /home
 ruby lib/gps_extractor.rb -html /home

OPTIONS

--help - provide brief help notice

-html - outputs an HTML document rather than a CSV

-v, --verbose - outputs additional information as the script runs

OUTPUT

The output file is created in the pwd/output, which requires write permission.

{folder_name}_{timestamp}.{csv|html}

BUGS

Circular symbolic links are not handled

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aashishsaini/gps_extractor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the GpsExtractor project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

gps_extractor's People

Contributors

aashishsaini avatar

Watchers

 avatar James Cloos 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.