Skip to content

Instantly share code, notes, and snippets.

@scriptype
Created February 17, 2016 10:37
Show Gist options
  • Save scriptype/826c222b818a75bb526e to your computer and use it in GitHub Desktop.
Save scriptype/826c222b818a75bb526e to your computer and use it in GitHub Desktop.
{
"patterns": [
{
"type": "path",
"term": "/some/path\\$/gi",
"transform": {
"path": "/some/other/path/file.x",
"name": "lorem",
"type": "jpeg"
}
},
{
"type": "path",
"term": "/some/lorem/path\\$/gi",
"ignore": true
},
{
"type": "metadata",
"metadata": "Make",
"term": "/Canon/",
"transform": {
"path": "/some/other/path/",
"type": "jpeg"
}
},
{
"type": "metadata",
"metadata": "Cake",
"term": "/trek/",
"ignore": true
}
],
"paths": {
"/some/path/file.x": {
"path": "/some/other/path/",
"name": "lorem",
"type": "jpeg"
},
"/some/foo/path": { "ignore": true },
"/some/path/foo": {
"path": "/some/other/path/",
"name": "bar",
"type": "collection"
},
"/some/path/file.y": {
"path": "/some/other/path/"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment