# support-asset-copy

This is a wrapper script that calls `lambda-support-copy-assets` to move assets into `S3`.

:warning: Warnings, please read!
* Only works with assets that have track indexes
* Does not work with muli-volume releases due to order clause in query used by the lambda function. Larger changes will be needed there to address this
* Does not work if an asset is missing, track indexes will not match in that case

### Help

```
usage: run.py [-h] -t T [T ...] [-a {wav,mp3_192,mp3_320,flac}] [-l {avl,nyc}] {qa,prod} upc

positional arguments:
  {qa,prod}             environment namespace of lambda function
  upc                   upc of product to find tracks on

optional arguments:
  -h, --help            show this help message and exit
  -t T [T ...]          list of track indexes on product (default: None)
  -a {wav,mp3_192,mp3_320,flac}
                        asset type to move (default: flac)
  -l {avl,nyc}          asset location to move from (default: avl)
```