aria2 default configuration file
aria2 default configuration file
References
Common options
aria2c -c -m 0 -t 5 -j 8 -s 8 -x 8 -k 1m --file-allocation=none http://example.com/abc.zip
aria2.conf
The difference between is the configuration file aria2.conf path and file allocation method.
Linux
By default, aria2 checks whether the legacy path $HOME/.aria2/aria2.conf is present, otherwise it parses $XDG_CONFIG_HOME/aria2/aria2.conf as its configuration file.
If you are using newer file systems such as ext4 (with extents support), btrfs, xfs, falloc is your best choice. It allocates large(few GiB) files almost instantly.
1 | cat << EOF | (mkdir -p $HOME/.aria2/ && tee $HOME/.aria2/aria2.conf) |
Windows
aria2 parses %USERPROFILE%\.aria2\aria2.conf as its configuration file.
If you are using falloc as your file allocation method, you must have SeManageVolumePrivilege privilege.
1 | # -c -m 0 -t 5 -j 8 -s 8 -x 8 -k 1m --file-allocation=none |