homonymy ¶
The download can become problematic in the presence of homonymous files in the same directory, if ZDL does not already have information thanks to which it is possible to recognize any pending or completed downloading. This information can only be obtained from temporary files generated by ZDL for each link already processed. Deleting these files with the --clean option causes the loss of this data.
In the event that, in the presence of homonymous files, there are no temporary files of the links to be processed, ZDL behaves in two alternative ways:
- default
does not overwrite the homonymous file, but renames the new file as follows: inserts, between the name and the extension, a string composed of
__ BIS__
and a segment of the URL of the link, appropriately abbreviated and recoded. The additional string increases the likelihood that a homonymy problem is not repeated, even in the absence of temporary files from previous download processes. In any case, the download queue automatically cancels any repetitions of the same link.- -r|--resume
using this option will overwrite the homonymous file. In the absence of temporary files related to the link to be processed, downloading with Axel or Aria2 also overwrites the file from the beginning. This option can be configured as the default behavior (
zdl [-c|--configure]
).