~
o{°_°}o
/(.)~[*O]
/ \
================
Hello! I'm Otto.
Otto is a shell script for importing and organizing RAW and JPEG files.
- 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.
Otto requires the following tools: dialog
, getopt
, bc
, jq
, cURL
, ExifTool
, Exiv2
, Rsync
, wget
, GPSbabel
The Linux Photography book provides detailed instructions on installing and using Otto. Get your copy at Google Play Store or Gumroad.
./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
Please report bugs and issues in the Issues section.
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.
- Fork the project's repository repository.
- Create a feature branch using the
git checkout -b new-feature
command. - Add your new feature or fix bugs and run the
git commit -am 'Add a new feature'
command to commit changes. - Push changes using the
git push origin new-feature
command. - Submit a pull request.
Dmitri Popov dmpop@cameracode.coffee