Pre/Post Examples
Pre- and post-processing script examples are shown below (bash syntax). To run these examples on your own system, do the following:
- Save the example to /opt/aspera/var/myscript.sh.
- Ensure that the script file is executable -- for example:
$ chmod +x /opt/aspera/var/myscript.sh - Add the line
/opt/aspera/var/myscript.shto /opt/aspera/var/aspera-prepost to callmyscript.sh. - Be sure there is no exit condition in
aspera-prepostbefore you call your script.
