Project

vera

0.0
No commit activity in last 3 years
No release in over 3 years
Vera helps you automatize the process of organizing, cleaning and sorting your photo and video files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 3.0
~> 1.7

Runtime

 Project Readme

vera

Vera is a CLI tool to manage and organize your photos and video files. I created it to automatize my current workflow for editing photos and videos. If you want to automatize yours keep reading.

Installation

Vera requires exiftool to work. You can use this script to install all the dependencies and Vera all together.

bash <(curl -Ls https://git.io/JtbuH)

You can also install it manually before you install the gem:

brew install exiftool
gem install vera

Once you have it installed you can use any of the following commands.

Available Commands

Timestamp

This command fixes the created date and the modified date of the media files. Run the following command in the folder where you have your photos and videos:

vera timestamp --path ~/path/example

Options

Parameter Default Value DescripciĆ³n
path (--path) Current directory Path where the command will be applied. Non-recursive.

This command works on JPG, MOV, HEIC and ARW files.

Rename

Prepends the creation date to the filename. This is useful to prevent having duplicate names in your files, as most cameras have a limited naming convention like IMG_0000.JPG to IMG_9999.JPG. As a result of this this command you will have file names like 2020-02-02-IMG_0000.JPG, which makes having duplicated file names almost impossible.

vera rename --path ~/path/example

Options

Parameter Default Value DescripciĆ³n
path (--path) Current directory Path where the command will be applied. Non-recursive.

This command works on JPG, MOV, HEIC and ARW files.

Example

vera rename

Safe

Should I delete all this media files? Is it safe? This command helps you understand that. This command will find the files even if you have changed the original file name of the files.

# Are all the media files in Folder backed up in MY_EXTERNAL_HD?
vera safe --path="Folder" --backup="/Volumes/MY_EXTERNAL_HD"

You can see it working here:

vera rename

If you want to add more commands, feel free to contribute with a PR to Vera. In the next section I explain how to start working on it.

Development

After checking out the repo, run install.sh to install dependencies. Then, run rake spec to run the tests.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/davebcn87/vera.

License

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