Giter VIP home page Giter VIP logo

otto's Introduction

Otto

       ~
    o{ยฐ_ยฐ}o
     /(.)~[*O]
      / \
================
Hello! I'm Otto.

Otto is a shell script for importing and organizing RAW and JPEG files.

Features

  • Transfer all files or RAW files only to the predefined destination directory.
  • Rename the transferred files using the YYYYMMDD-HHMMSS naming format.
  • For each photo, obtain camera model and lens model.
  • If enabled, fetch text notes for the dates corresponding to the dates of the photos.
  • Write the obtained camera model, lens model, and notes to the Comments field of each photo's EXIF metadata.
  • Write the predefined copyright notice to the Copyright field of each photo's EXIF metadata.
  • If keywords are specified, write them into each photo's EXIF metadata.
  • Geotag photos using the geographical coordinates of the specified city.
  • Geotag photos using exact geographical coordinates and altitude.
  • Merge multiple GPX tracks and geocorrelate photos using the resulting GPX file.
  • Group the transferred files into folders by date using the YYYY-MM-DD naming format.
  • Notify on job completion via ntfy.

Dependencies

Otto requires the following tools: dialog, getopt, bc, jq, cURL, ExifTool, Exiv2, Rsync, wget, GPSbabel

Installation and usage

The Linux Photography book provides detailed instructions on installing and using Otto. Get your copy at Google Play Store or Gumroad.

Example commands

./otto.sh -d <dir> -b
./otto.sh -d <dir> -g <location> -t "This is text" -k "keyword1 keyword2 keyword3"
./otto.sh -d <dir> -l "34.704364,135.501887"
./otto.sh -d <dir> -c <dir>
./otto.sh -d <dir> -g <location> -r NEF
./otto.sh -d <dir> -e <EXIF tag>
  • -d absolute path to the source directory
  • -g name of the city where the photos were taken
  • -c path to a directory containing one or several GPX files
  • -b perform backup only
  • -s Perform backup to an individual directory named after the current date
  • -r Transfer RAW files in the specified format only
  • -t Write the specified text into the Comment field of EXIF metadata
  • -k write specified keywords into EXIF metadata
  • -e Generate stats for the given EXIF tag

Problems?

Please report bugs and issues in the Issues section.

Contribute

If you've found a bug or have a suggestion for improvement, open an issue in the Issues section.

To add a new feature or fix issues yourself, follow the following steps.

  1. Fork the project's repository repository.
  2. Create a feature branch using the git checkout -b new-feature command.
  3. Add your new feature or fix bugs and run the git commit -am 'Add a new feature' command to commit changes.
  4. Push changes using the git push origin new-feature command.
  5. Submit a pull request.

Author

Dmitri Popov [email protected]

License

The GNU General Public License version 3

otto's People

Contributors

dmpop 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.