New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vera

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vera

  • 0.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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
ParameterDefault ValueDescripción
path (--path)Current directoryPath 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
ParameterDefault ValueDescripción
path (--path)Current directoryPath 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.

FAQs

Package last updated on 26 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc