Skip to content

carneyplusco/imogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collection-image-processor

Requirements

  1. Elixir 1.6+

Setup

  1. Run mix deps.get to install Elixir dependencies
  2. Add SSH credentials for the EMu server to config/dev.exs

Processing images

Run mix Images.Update "path/to/json_file.json" "path/to/output/directory"

Note: directories that are not found in the JSON input file will be deleted from the output directory

Syncing images

Run mix Images.Sync "path/to/images/directory" "S3 bucket name" "profile"

profile coresponds to an existing AWS access configuration, most likely stored in ~/.aws/credentials (More info here)

Optionally add "dryrun" as the last argument to see an output of the proposed changes to S3 before committing them.

Note: existing entries in S3 that are not found in the input directory will be deleted from the S3 bucket

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages