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.sh to
/opt/aspera/var/aspera-prepost to call
myscript.sh.
- Be sure there is no exit condition in aspera-prepost before you call
your script.