Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aria2 don't re-download file

Tags:

aria2

I'm using aria2 to download a list of files that is dynamically generated. I want it to skip the files that are already in the download directory, but instead of doing this, it just re-downloads them and adds a .1 to the filename. I tried using --check-integrity=true, but that did not change the behavior. Is there a way to make it skip files that already exist?

like image 767
Lily Mara Avatar asked Nov 12 '16 21:11

Lily Mara


People also ask

What is aria2 file?

Aria2 is an open-source lightweight multi-protocol, multi-server & multi-source command-line utility that is used for downloading files in Windows, Linux, and Mac.


1 Answers

According to this issue the way to go should be

--auto-file-renaming=false

If a control file (.aria2) exists then the download will resume, otherwise if no control file exists then since --allow-overwrite is false by default the file will not be re-downloaded.

like image 66
black_puppydog Avatar answered Sep 29 '22 21:09

black_puppydog