FAQs for Using Shell Scripts

What is currently supported?

Currently, download is supported using cURL and wget. In order to succcessfully use the shell script download tool, you must have cURL and/or wget installed.

How can I download a trace using a shell script?

To begin, save the shell script file to the folder in which you plan to save your trace. Open a command-line window, and move to the directory in which the file is saved. To run the script, type "bash" followed by the name of the script file. This will be of the form of "download_trace_#.sh"
If you are downloading all subtraces using a shell script, the procedure is basically the same. Save the shell script file to the folder in which you plan to save your trace. Open the terminal and move to the directory in which the file is saved. To run the script, type "sh" followed by the name of the script file. This will be in the form of "download_all_subtraces_of_#.sh"

What is in the shell script?

The shell script creates the cookies necessary for download as well as the commands necessary in cURL or wget to download the traces. The cookies are automatically removed after the script is finished. In order to successfully use the shell script downloads, the user must have either the cURL or the wget package installed on his system. For more information about cURL, see cURL, and for more information about wget, see Introduction to GNU wget.

What do I do if the download fails?

If the download fails, you can simply run the script again. The script is set up to resume download at the same point at which it failed.

For additional questions or comments, please contact us.

Member Links

Featured Events