Avalon has the ability to perform minimal management of master files after it has successfully processed them. There are three management strategies: move, delete, or do nothing.
...
can be configured to handle media files after processing is complete—for example, deleting them from the filesystem, or moving them to a spooler directory for further processing by another system. The three management strategies are move, delete and none.
Strategies
Move
The move strategy will move master files to the configured specified path once they have been processed. This path needs to be file system accessible.
Code Block | ||
---|---|---|
| ||
master_file_management: strategy: 'move' path: '/mnt/diskarray/avalon-archive' |
The new masterfile name will be prepended with the pid, replacing the colon with an underscore.
Example: movie.mp4 -> avalon_2390is renamed g158bh28p-movie.mp4 after processing.mp4 When the file has been archived, you can see the new filename in the item's raw metadata
This new filename will be added to the record's metadata as well.
Delete
...
The delete strategy will delete the master file after it has been processed.
Code Block | ||
---|---|---|
| ||
master_file_management: strategy: 'delete' |
None
...
The 'none' strategy will leave the master files in place after processing (i.e. no action on the original media file).
Code Block | ||
---|---|---|
| ||
master_file_management: strategy: 'none' |
...