Personal tools
You are here: Home / FAQ / Starting ARIA using a script

Starting ARIA using a script

The correct script syntax

If ARIA is started through a sh or csh or tcsh script and not using the environment variables defined in the shell, the script should have the following syntax:

#!/bin/csh -f

setenv ARIA2 /home/soft/aria2.2/
python -O $ARIA2/aria2.py $*

The script arguments (-g, -s, ..) used in the commands:

aria -s 
aria -g
....

have to be given to the command using the "$*".

« December 2024 »
December
MonTueWedThuFriSatSun
1
2345678
9101112131415
16171819202122
23242526272829
3031