Download Aspen Mesh using a script#
Introduction#
If you need to automate the downloading of an Aspen Mesh release archive file, you can use the download-release.sh
script. If you execute the script with parameters, it won’t prompt you for information.
If you don’t need to automate downloading, go to Releases and click or tap a download link.
Download the script#
Download the script (
download-release.sh
).
Syntax#
This is the syntax for executing the script with parameters, assuming the script is in the current directory:
$ ASPEN_MESH_USERNAME=<username> \
ASPEN_MESH_PASSWORD=<password> \
ASPEN_MESH_VERSION=<version> \
ASPEN_MESH_RELEASE_TYPE=<releaseType> ./download-release.sh
Note
If you execute the script with parameters, you should prevent your password from being stored in your command history.
Parameters#
This table describes the parameters for the download-release.sh
script:
Parameter |
Description |
---|---|
|
Your Aspen Mesh username (the email address you used when you signed up) |
|
Your Aspen Mesh password |
|
The version of Aspen Mesh to download (for example, |
|
Either |
About using the script without parameters#
You can also execute the script without parameters, but it won’t prompt you for the release type (which is assumed to be enterprise
), so you can use this method only for Aspen Mesh Enterprise releases. Your password will not echo as you type it.