http-passwd=PASSWORD: Set HTTP password as PASSWORD for password-protected logins.http-user=USER_NAME: Set HTTP username as USER_NAME for password-protected logins.Example aria2.rapidshare http-user=USER_NAME Tip: See aria2c -help=#all and aria2c(1) § OPTIONS for a complete list of configuration options. Do not use falloc with legacy file systems such as ext3 as prealloc consumes approximately the same amount of time as standard allocation would while locking the aria2 process from proceeding to download. on-download-complete=exit: Run the exit command and exit the shell once the download session is complete.ĭownload aria2-1.10.0.tar.bz2 from two separate sources to ~/Desktop before merging as aria2-1.10.0.tar.bz2 ĭownload aria2-1.9.5.tar.bz2 and save to /file/old as 2 ĭownload aria2-1.10.0.tar.bz2 and save to ~/Desktop as 2 ġ file-allocation=falloc: Recommended for newer file systems such as ext4 (with extents support), btrfs or XFS as it allocates large files (GB) almost instantly.min-split-size=5M: Only split the file if the size is larger than 2*5MB = 10MB.max-connection-per-server=4: Set a maximum of four (4) connections to each server per file.log-level=warn: Set log level to output warnings and errors only.$ aria2c -dir=$/.aria2/nf: Download a list of line, or TAB separated URIs found in ~/.aria2/nf This is essentially the same as if running the following: If $XDG_CONFIG_HOME/aria2/nf does not yet exist and you wish to simplify the management of configuration options: The following example does not use the default configuration file and downloads using the options specified in the configuration file /file/aria2.rapidshare $ aria2c -no-conf -conf-path=/file/aria2.rapidshare If $XDG_CONFIG_HOME/aria2/nf exists and the options specified in /file/aria2.rapidshare are desired, the -no-conf switch must be appended to the command: The following example downloads using the options specified in the configuration file /file/aria2.rapidshare $ aria2c -conf-path=/file/aria2.rapidshare This behavior can be modified with the -conf-path switch: To use aria2 as a daemon, you can write a systemd user unit.Īria2 looks at $XDG_CONFIG_HOME/aria2/nf for a set of global configuration options by default. aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces. It supports HTTP/ HTTPS, FTP, BitTorrent and Metalink. Aria2 is a lightweight multi-protocol & multi-source command-line download utility.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |